diff options
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index 9f702ecb..501254bc 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -22,6 +22,7 @@ #include "fsprobe.h" #include "pathnames.h" #include "swapheader.h" +#include "mangle.h" #define PATH_MKSWAP "/sbin/mkswap" @@ -173,7 +174,7 @@ read_proc_swaps(void) { break; swapFiles = q; - swapFiles[numSwaps++] = strdup(line); + swapFiles[numSwaps++] = unmangle(line); } fclose(swaps); } |