Removed trailing \n from error_msg{,_and_die} messages.
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index 637896b..f20c284 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -284,7 +284,7 @@
}
}
#else
- error_msg( "mode reading not compiled in\n");
+ error_msg( "mode reading not compiled in");
#endif
return 0;
}
@@ -434,7 +434,7 @@
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;
}
}