summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-07 11:20:09 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-09 07:53:06 +0200
commit1b3502b072a9930af2345879d3ad42854ba3a287 (patch)
tree407bcc4ee8963e23fc5a43cdf2fd41d625800b4f /src/test
parentsd-journal: inline variable declarations (diff)
downloadsystemd-1b3502b072a9930af2345879d3ad42854ba3a287.tar.xz
systemd-1b3502b072a9930af2345879d3ad42854ba3a287.zip
test-mountpoint-util: fix NULL arg to %s
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-mountpoint-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c
index 6f9e68f4d9..6daab022aa 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);