From bed30e97005aca748a44806399c646633038daa8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 18 Oct 1999 19:02:32 +0000 Subject: More fixes --- swapoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swapoff.c') 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) { 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))) { -- cgit v1.2.3