]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: correct argument comments
authorJelle van der Waa <jvanderwaa@redhat.com>
Sun, 25 May 2025 17:45:37 +0000 (19:45 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Mon, 2 Jun 2025 15:39:44 +0000 (17:39 +0200)
src/nspawn/nspawn.c

index c89f8723e6538aa92123a6eb842a528ca4f3ee19..f404e085a748153cc0793d0d57fbec7012337149 100644 (file)
@@ -3757,7 +3757,7 @@ static int setup_unix_export_dir_outside(char **ret) {
          * itself is writable, but not through the mount accessible from the host. */
         r = mount_nofollow_verbose(
                         LOG_ERR,
-                        /* source= */ NULL,
+                        /* what= */ NULL,
                         w,
                         /* fstype= */ NULL,
                         MS_BIND|MS_REMOUNT|MS_RDONLY|MS_NODEV|MS_NOEXEC|MS_NOSUID|ms_nosymfollow_supported(),
@@ -3802,7 +3802,7 @@ static int setup_unix_export_host_inside(const char *directory, const char *unix
 
         r = mount_nofollow_verbose(
                         LOG_ERR,
-                        /* source= */ NULL,
+                        /* what= */ NULL,
                         p,
                         /* fstype= */ NULL,
                         MS_BIND|MS_REMOUNT|MS_NODEV|MS_NOEXEC|MS_NOSUID|ms_nosymfollow_supported(),