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) { struct mntent entries[100]; int count = 0; - FILE * swapsTable = setmntent("/etc/swaps", "r"); + FILE * swapsTable = setmntent("/proc/swaps", "r"); struct mntent * m; if (!(swapoff(i->source))) { |