Removed trailing \n from error_msg{,_and_die} messages.

This commit is contained in:
Matt Kraai
2001-01-31 19:00:21 +00:00
parent 63ec273245
commit dd19c69904
106 changed files with 612 additions and 610 deletions

View File

@ -284,7 +284,7 @@ static int readmode(struct fb_var_screeninfo *base, const char *fn,
}
}
#else
error_msg( "mode reading not compiled in\n");
error_msg( "mode reading not compiled in");
#endif
return 0;
}
@ -434,7 +434,7 @@ extern int fbset_main(int argc, char **argv)
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;
}
}