diff options
author | Karel Zak | 2010-11-25 23:22:53 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:46 +0100 |
commit | dd36965211907fd482db8966938334ede5ece089 (patch) | |
tree | d322bf4e93ad4a5dcec704b863c1b7bdf406c9cd /mount/swapon.c | |
parent | libmount: fix utab file and dir modes, add new debug messages (diff) | |
download | kernel-qcow2-util-linux-dd36965211907fd482db8966938334ede5ece089.tar.gz kernel-qcow2-util-linux-dd36965211907fd482db8966938334ede5ece089.tar.xz kernel-qcow2-util-linux-dd36965211907fd482db8966938334ede5ece089.zip |
libmount: use better format for utab, improve bind mounts
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/swapon.c')
-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 f0577bbb8..e9ccc94a3 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -179,7 +179,7 @@ read_proc_swaps(void) { break; swapFiles = q; - if ((p = unmangle(line)) == NULL) + if ((p = unmangle(line, NULL)) == NULL) break; swapFiles[numSwaps++] = canonicalize_path(p); @@ -220,7 +220,7 @@ display_summary(void) *p = '\0'; for (++p; *p && isblank((unsigned int) *p); p++); - dev = unmangle(line); + dev = unmangle(line, NULL); if (!dev) continue; cn = canonicalize_path(dev); |