diff options
author | 2003-04-28 19:13:51 +0000 | |
---|---|---|
committer | 2003-04-28 19:13:51 +0000 | |
commit | ce02aa8b20c54034307a39bb5d841cfa11b9df71 (patch) | |
tree | a2fbaff5a754d5f7590de8f62750fba9fe669f82 | |
parent | No need to install both the "readline guide" and the "readline user's guide" (diff) | |
download | wireguard-openbsd-ce02aa8b20c54034307a39bb5d841cfa11b9df71.tar.xz wireguard-openbsd-ce02aa8b20c54034307a39bb5d841cfa11b9df71.zip |
return from main
-rw-r--r-- | bin/md5/md5.c | 4 | ||||
-rw-r--r-- | libexec/spamd-setup/spamd-setup.c | 4 |
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); } |