swapon: use EXIT_SUCCESS constants

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
This commit is contained in:
Davidlohr Bueso 2011-02-03 17:43:29 -03:00 committed by Karel Zak
parent 15673c1598
commit 8fdf2bf7b1
1 changed files with 2 additions and 2 deletions

View File

@ -711,7 +711,7 @@ main_swapon(int argc, char *argv[]) {
break;
case 'V': /* version */
printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
exit(0);
exit(EXIT_SUCCESS);
case 0:
break;
case '?':
@ -763,7 +763,7 @@ main_swapoff(int argc, char *argv[]) {
break;
case 'V': /* version */
printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
exit(0);
exit(EXIT_SUCCESS);
case 'L':
addl(optarg);
break;