summaryrefslogtreecommitdiffstats
path: root/mount/swapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/swapon.c')
-rw-r--r--mount/swapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/swapon.c b/mount/swapon.c
index 5c9c3be43..49771f5d7 100644
--- a/mount/swapon.c
+++ b/mount/swapon.c
@@ -13,7 +13,6 @@
#include <sys/wait.h>
#include <fcntl.h>
#include <stdint.h>
-#include <err.h>
#include <ctype.h>
#include "bitops.h"
@@ -25,6 +24,7 @@
#include "swapheader.h"
#include "mangle.h"
#include "canonicalize.h"
+#include "c.h"
#define PATH_MKSWAP "/sbin/mkswap"