aboutsummaryrefslogtreecommitdiff
path: root/fbset.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-01-31 19:00:21 +0000
committerMatt Kraai <kraai@debian.org>2001-01-31 19:00:21 +0000
commitdd19c6990496023fe23fefef8f1798740f7d39c6 (patch)
tree3933adefa4171173db78fa2389146ac89f4edb86 /fbset.c
parent63ec2732454a0c973305794e185e488106f6b282 (diff)
downloadbusybox-w32-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz
busybox-w32-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.bz2
busybox-w32-dd19c6990496023fe23fefef8f1798740f7d39c6.zip
Removed trailing \n from error_msg{,_and_die} messages.
Diffstat (limited to 'fbset.c')
-rw-r--r--fbset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fbset.c b/fbset.c
index 637896bed..f20c284aa 100644
--- a/fbset.c
+++ b/fbset.c
@@ -284,7 +284,7 @@ static int readmode(struct fb_var_screeninfo *base, const char *fn,
284 } 284 }
285 } 285 }
286#else 286#else
287 error_msg( "mode reading not compiled in\n"); 287 error_msg( "mode reading not compiled in");
288#endif 288#endif
289 return 0; 289 return 0;
290} 290}
@@ -434,7 +434,7 @@ extern int fbset_main(int argc, char **argv)
434 perror_msg_and_die("fbset(ioctl)"); 434 perror_msg_and_die("fbset(ioctl)");
435 if (g_options & OPT_READMODE) { 435 if (g_options & OPT_READMODE) {
436 if (!readmode(&var, modefile, mode)) { 436 if (!readmode(&var, modefile, mode)) {
437 error_msg("Unknown video mode `%s'\n", mode); 437 error_msg("Unknown video mode `%s'", mode);
438 return EXIT_FAILURE; 438 return EXIT_FAILURE;
439 } 439 }
440 } 440 }