X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fmount-util.c;h=051b14b179596f35b213c3f6685151e9f7409863;hb=90d6a4ed9d3ef81bad45801bfebe7446ee9d08ef;hp=d1d5d415bb29c5be732d66ce9d6e3695251d184e;hpb=f47938b37644a3c961fd51de89b27cde2c54cc45;p=elogind.git diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index d1d5d415b..051b14b17 100644 --- a/src/basic/mount-util.c +++ b/src/basic/mount-util.c @@ -583,6 +583,7 @@ const char* mode_to_inaccessible_node(mode_t mode) { return NULL; } +#if 0 /// UNNEEDED by elogind #define FLAG(name) (flags & name ? STRINGIFY(name) "|" : "") static char* mount_flags_to_string(long unsigned flags) { char *x; @@ -642,7 +643,7 @@ static char* mount_flags_to_string(long unsigned flags) { FLAG(MS_I_VERSION), FLAG(MS_STRICTATIME), FLAG(MS_LAZYTIME), - y, NULL); + y); if (!x) return NULL; if (!y) @@ -687,3 +688,4 @@ int umount_verbose(const char *what) { return log_error_errno(errno, "Failed to unmount %s: %m", what); return 0; } +#endif // 0