summaryrefslogtreecommitdiff
path: root/mount-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount-setup.c')
-rw-r--r--mount-setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mount-setup.c b/mount-setup.c
index 18d3911be4..a0eb75ca6a 100644
--- a/mount-setup.c
+++ b/mount-setup.c
@@ -29,6 +29,8 @@
#include "mount-setup.h"
#include "log.h"
+#include "macro.h"
+#include "util.h"
enum {
MOUNT_WHAT,
@@ -94,7 +96,7 @@ static int mount_one(const char *t[]) {
t[MOUNT_WHAT],
t[MOUNT_WHERE],
t[MOUNT_TYPE],
- t[MOUNT_OPTIONS]);
+ strna(t[MOUNT_OPTIONS]));
if (mount(t[MOUNT_WHAT],
t[MOUNT_WHERE],