aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dutmp.c2
-rw-r--r--miscutils/mktemp.c2
-rw-r--r--miscutils/mt.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c
index f264fd75b..c6bc0c794 100644
--- a/miscutils/dutmp.c
+++ b/miscutils/dutmp.c
@@ -56,5 +56,5 @@ extern int dutmp_main(int argc, char **argv)
(long)ut.ut_addr);
}
- exit(TRUE);
+ return(TRUE);
}
diff --git a/miscutils/mktemp.c b/miscutils/mktemp.c
index b30b9a08f..87792cb18 100644
--- a/miscutils/mktemp.c
+++ b/miscutils/mktemp.c
@@ -39,5 +39,5 @@ extern int mktemp_main(int argc, char **argv)
if(mkstemp(argv[argc-1]) < 0)
exit(FALSE);
(void) puts(argv[argc-1]);
- exit(TRUE);
+ return(TRUE);
}
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 44f23884c..304d66485 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -101,5 +101,5 @@ extern int mt_main(int argc, char **argv)
exit (FALSE);
}
- exit (TRUE);
+ return (TRUE);
}