summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorEric Andersen2000-06-19 17:25:40 +0000
committerEric Andersen2000-06-19 17:25:40 +0000
commitb610615be9aedfac07d1e01f12575707fa3a227c (patch)
treeb94c0d6a506d1ef77f79df246a26d504c84b7110 /miscutils
parentdbb3019d0de410960feac649a0b9320ae245cca1 (diff)
downloadbusybox-b610615be9aedfac07d1e01f12575707fa3a227c.zip
busybox-b610615be9aedfac07d1e01f12575707fa3a227c.tar.gz
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
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 f264fd7..c6bc0c7 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 b30b9a0..87792cb 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 44f2388..304d664 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);
}