summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/md5/md5.c4
-rw-r--r--libexec/spamd-setup/spamd-setup.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c
index 5ad8a6b2dd2..b183fc7e777 100644
--- a/bin/md5/md5.c
+++ b/bin/md5/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.20 2003/04/23 16:00:43 millert Exp $ */
+/* $OpenBSD: md5.c,v 1.21 2003/04/28 19:13:51 deraadt Exp $ */
/*
* Copyright (c) 2001,2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -149,7 +149,7 @@ main(int argc, char **argv)
while (argc--)
digest_file(*argv++, &functions[digest_type], 0);
- exit(error ? EXIT_FAILURE : EXIT_SUCCESS);
+ return(error ? EXIT_FAILURE : EXIT_SUCCESS);
}
static void
diff --git a/libexec/spamd-setup/spamd-setup.c b/libexec/spamd-setup/spamd-setup.c
index 8ea05f0e89a..44d496ea3e2 100644
--- a/libexec/spamd-setup/spamd-setup.c
+++ b/libexec/spamd-setup/spamd-setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd-setup.c,v 1.8 2003/03/13 21:20:42 beck Exp $ */
+/* $OpenBSD: spamd-setup.c,v 1.9 2003/04/28 19:13:51 deraadt Exp $ */
/*
* Copyright (c) 2003 Bob Beck. All rights reserved.
*
@@ -777,5 +777,5 @@ main(int argc, char *argv[])
free(cidrs);
free(blists[i].bl);
}
- exit(0);
+ return (0);
}