diff options
author | Davidlohr Bueso | 2011-02-03 21:43:29 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-08 15:40:51 +0100 |
commit | 8fdf2bf7b10de908824b399044b1de76614f52e0 (patch) | |
tree | ec17615969d0acbaad40353bd8739bfe2bef4add /mount | |
parent | dmesg: use strtol_or_err instead of atoi (diff) | |
download | kernel-qcow2-util-linux-8fdf2bf7b10de908824b399044b1de76614f52e0.tar.gz kernel-qcow2-util-linux-8fdf2bf7b10de908824b399044b1de76614f52e0.tar.xz kernel-qcow2-util-linux-8fdf2bf7b10de908824b399044b1de76614f52e0.zip |
swapon: use EXIT_SUCCESS constants
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'mount')
-rw-r--r-- | mount/swapon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index 2c0dd9fa3..5c9c3be43 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -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; |