aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fbset.c')
-rw-r--r--util-linux/fbset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index 8307f262d..47130e355 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -434,7 +434,7 @@ extern int fbset_main(int argc, char **argv)
434 if (g_options & OPT_READMODE) { 434 if (g_options & OPT_READMODE) {
435 if (!readmode(&var, modefile, mode)) { 435 if (!readmode(&var, modefile, mode)) {
436 errorMsg("Unknown video mode `%s'\n", mode); 436 errorMsg("Unknown video mode `%s'\n", mode);
437 exit(1); 437 return EXIT_FAILURE;
438 } 438 }
439 } 439 }
440 440
@@ -446,5 +446,5 @@ extern int fbset_main(int argc, char **argv)
446 /* Don't close the file, as exiting will take care of that */ 446 /* Don't close the file, as exiting will take care of that */
447 /* close(fh); */ 447 /* close(fh); */
448 448
449 return (TRUE); 449 return EXIT_SUCCESS;
450} 450}