From c9af1080bc318f89238ff7fbe03134c25169a1bc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Apr 2010 01:43:07 +0200 Subject: mount-setup: properly show NULL mount options --- mount-setup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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], -- cgit v1.2.3-54-g00ecf