#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
+#include <string.h>
#include <sys/ioctl.h>
#define DEFAULTFBDEV "/dev/fb0"
}
}
#else
- error_msg( "mode reading not compiled in\n");
+ error_msg( "mode reading not compiled in");
#endif
return 0;
}
perror_msg_and_die("fbset(ioctl)");
if (g_options & OPT_READMODE) {
if (!readmode(&var, modefile, mode)) {
- error_msg("Unknown video mode `%s'\n", mode);
+ error_msg("Unknown video mode `%s'", mode);
return EXIT_FAILURE;
}
}