aboutsummaryrefslogtreecommitdiff
path: root/swapoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'swapoff.c')
-rw-r--r--swapoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swapoff.c b/swapoff.c
index 55124d0b8..29b9daedd 100644
--- a/swapoff.c
+++ b/swapoff.c
@@ -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))) {