summaryrefslogtreecommitdiff
path: root/freeramdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'freeramdisk.c')
-rw-r--r--freeramdisk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/freeramdisk.c b/freeramdisk.c
index 9636dbd..d373bcb 100644
--- a/freeramdisk.c
+++ b/freeramdisk.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <string.h>
-#include <sys/mount.h>
+#include <linux/fs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -32,6 +32,7 @@
#include "internal.h"
+
static const char freeramdisk_usage[] =
"freeramdisk DEVICE\n\n"
"Free all memory used by the specified ramdisk.\n";