diff options
Diffstat (limited to 'usr/src/cmd/format/main.c')
-rw-r--r-- | usr/src/cmd/format/main.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/usr/src/cmd/format/main.c b/usr/src/cmd/format/main.c index 19d1f1671f..242fc7bb6d 100644 --- a/usr/src/cmd/format/main.c +++ b/usr/src/cmd/format/main.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -79,10 +79,8 @@ static void get_disk_characteristics(); /* * This is the main entry point. */ -void -main(argc, argv) - int argc; - char *argv[]; +int +main(int argc, char *argv[]) { int i; int ret_code = 1; @@ -312,10 +310,9 @@ main(argc, argv) run_menu(menu_command, "FORMAT", "format", 1); /* - * normal ending. Explicitly exit(0); + * normal ending. Explicitly return(0); */ - exit(0); - /* NOTREACHED */ + return (0); } /* |