diff options
author | Karel Zak | 2006-12-07 00:25:49 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:49 +0100 |
commit | e8f2641919de90b488ce3788a7795b88311750b5 (patch) | |
tree | 68f3732da38ff1b21ec49780d7c830250329fec9 /mount/swapon.c | |
parent | Imported from util-linux-2.11f tarball. (diff) | |
download | kernel-qcow2-util-linux-e8f2641919de90b488ce3788a7795b88311750b5.tar.gz kernel-qcow2-util-linux-e8f2641919de90b488ce3788a7795b88311750b5.tar.xz kernel-qcow2-util-linux-e8f2641919de90b488ce3788a7795b88311750b5.zip |
Imported from util-linux-2.11m tarball.
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index b87a021ae..9f25fcbe7 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -158,9 +158,11 @@ display_summary(void) strerror (errsv)); return -1 ; } + while ( fgets(line, sizeof(line), swaps)) printf ("%s", line); + fclose(swaps); return 0 ; } |