From: Zbigniew Jędrzejewski-Szmek Date: Tue, 7 Jun 2022 09:20:09 +0000 (+0200) Subject: test-mountpoint-util: fix NULL arg to %s X-Git-Tag: v252-rc1~845^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b3502b072a9930af2345879d3ad42854ba3a287;p=thirdparty%2Fsystemd.git test-mountpoint-util: fix NULL arg to %s --- diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c index 6f9e68f4d99..6daab022aa1 100644 --- a/src/test/test-mountpoint-util.c +++ b/src/test/test-mountpoint-util.c @@ -20,7 +20,7 @@ static void test_mount_propagation_flags_one(const char *name, int ret, unsigned long expected) { unsigned long flags; - log_info("/* %s(%s) */", __func__, name); + log_info("/* %s(%s) */", __func__, strnull(name)); assert_se(mount_propagation_flags_from_string(name, &flags) == ret);