]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: suffix some paths in log messages with /, as per coding style
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Dec 2023 09:58:56 +0000 (10:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Dec 2023 11:06:21 +0000 (12:06 +0100)
src/nspawn/nspawn.c

index 6ab604d3dcca5357524f694a93816ce2c65429db..22362aeeba6166ed54b6f715f3690e93e3297c07 100644 (file)
@@ -2182,7 +2182,7 @@ static int copy_devnodes(const char *dest) {
                         if (mknod(to, st.st_mode, st.st_rdev) < 0) {
                                 /* Explicitly warn the user when /dev is already populated. */
                                 if (errno == EEXIST)
-                                        log_notice("%s/dev is pre-mounted and pre-populated. If a pre-mounted /dev is provided it needs to be an unpopulated file system.", dest);
+                                        log_notice("%s/dev/ is pre-mounted and pre-populated. If a pre-mounted /dev/ is provided it needs to be an unpopulated file system.", dest);
                                 if (errno != EPERM)
                                         return log_error_errno(errno, "mknod(%s) failed: %m", to);