1
0
forked from pool/util-linux
util-linux/util-linux-2.12r-pagesize.patch

13 lines
228 B
Diff
Raw Normal View History

--- mount/swapon.c
+++ mount/swapon.c
@@ -50,6 +50,9 @@
#define QUIET 1
+#undef PAGE_SIZE
+#define PAGE_SIZE sysconf(_SC_PAGESIZE)
+
int all = 0;
int verbose = 0;
int priority = -1; /* non-prioritized swap by default */