]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/cred-util: fix argument comment for copy_file_at
authorJelle van der Waa <jvanderwaa@redhat.com>
Wed, 7 May 2025 17:53:18 +0000 (19:53 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Wed, 14 May 2025 09:15:46 +0000 (11:15 +0200)
src/shared/creds-util.c

index 6eca4aa88c5b125cf6e441b95608c410b74e54b0..e72df30eb9e3ac582c0880e0620aecd0089fd187 100644 (file)
@@ -1758,7 +1758,7 @@ static int pick_up_credential_one(
                         AT_FDCWD, target_path,
                         /* open_flags= */ 0,
                         0644,
-                        /* flags= */ 0);
+                        /* copy_flags= */ 0);
         if (r < 0)
                 return log_warning_errno(r, "Failed to copy credential %s → file %s: %m",
                                          credential_name, target_path);