diff options
Diffstat (limited to 'swapoff.c')
-rw-r--r-- | swapoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ swapoff_fn(const struct FileInfo * i) | |||
13 | { | 13 | { |
14 | struct mntent entries[100]; | 14 | struct mntent entries[100]; |
15 | int count = 0; | 15 | int count = 0; |
16 | FILE * swapsTable = setmntent("/etc/swaps", "r"); | 16 | FILE * swapsTable = setmntent("/proc/swaps", "r"); |
17 | struct mntent * m; | 17 | struct mntent * m; |
18 | 18 | ||
19 | if (!(swapoff(i->source))) { | 19 | if (!(swapoff(i->source))) { |