]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared: rename type to fstype
authorJelle van der Waa <jvanderwaa@redhat.com>
Mon, 5 May 2025 19:34:31 +0000 (21:34 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Mon, 5 May 2025 19:34:31 +0000 (21:34 +0200)
Follow the argument comment naming already used.

src/shared/mount-util.h

index fa55c9d32ca15c2c91b1a2be7f7db44e075f8f80..5541d0cab383b3ee7cb1d268f814048a4e09a0ae 100644 (file)
@@ -49,7 +49,7 @@ int mount_verbose_full(
                 int error_log_level,
                 const char *what,
                 const char *where,
-                const char *type,
+                const char *fstype,
                 unsigned long flags,
                 const char *options,
                 bool follow_symlink);
@@ -58,20 +58,20 @@ static inline int mount_follow_verbose(
                 int error_log_level,
                 const char *what,
                 const char *where,
-                const char *type,
+                const char *fstype,
                 unsigned long flags,
                 const char *options) {
-        return mount_verbose_full(error_log_level, what, where, type, flags, options, true);
+        return mount_verbose_full(error_log_level, what, where, fstype, flags, options, true);
 }
 
 static inline int mount_nofollow_verbose(
                 int error_log_level,
                 const char *what,
                 const char *where,
-                const char *type,
+                const char *fstype,
                 unsigned long flags,
                 const char *options) {
-        return mount_verbose_full(error_log_level, what, where, type, flags, options, false);
+        return mount_verbose_full(error_log_level, what, where, fstype, flags, options, false);
 }
 
 int umount_verbose(