From 4b779c874c5d394e637af4a1d07e91c99010c293 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 5 May 2025 21:34:31 +0200 Subject: [PATCH] shared: rename type to fstype Follow the argument comment naming already used. --- src/shared/mount-util.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/shared/mount-util.h b/src/shared/mount-util.h index fa55c9d32ca..5541d0cab38 100644 --- a/src/shared/mount-util.h +++ b/src/shared/mount-util.h @@ -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( -- 2.47.3