diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2022-09-04 13:06:14 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2022-09-04 13:07:38 +0200 |
commit | 346ff9c8b83dc516dbd6b6819fdf9335adfd4dd2 (patch) | |
tree | 23d419b45bbfbf9f120d9289423a1e712cda74e6 /libgphoto2_port/disk/disk.c | |
parent | df4f1307236923a60163ddc7bc913013c80621dd (diff) | |
download | libgphoto2-346ff9c8b83dc516dbd6b6819fdf9335adfd4dd2.tar.gz |
report only fstype, not fsname ... otherwise might like pths or UUIDs in logfiles
Diffstat (limited to 'libgphoto2_port/disk/disk.c')
-rw-r--r-- | libgphoto2_port/disk/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2_port/disk/disk.c b/libgphoto2_port/disk/disk.c index a74e79702..832f9bcca 100644 --- a/libgphoto2_port/disk/disk.c +++ b/libgphoto2_port/disk/disk.c @@ -81,7 +81,7 @@ gp_port_library_list (GPPortInfoList *list) if (mnt) { while ((mntent = getmntent (mnt))) { /* detect floppies so we don't access them with the stat() below */ - GP_LOG_D ("found fstab fsname %s", mntent->mnt_fsname); + GP_LOG_D ("found fstab fstype %s", mntent->mnt_type); if ((NULL != strstr(mntent->mnt_fsname,"fd")) || (NULL != strstr(mntent->mnt_fsname,"floppy")) || @@ -153,7 +153,7 @@ gp_port_library_list (GPPortInfoList *list) if (mnt) { while ((mntent = getmntent (mnt))) { /* detect floppies so we don't access them with the stat() below */ - GP_LOG_D ("found mtab fsname %s", mntent->mnt_fsname); + GP_LOG_D ("found mtab fstype %s", mntent->mnt_type); if ((NULL != strstr(mntent->mnt_fsname,"fd")) || (NULL != strstr(mntent->mnt_fsname,"floppy")) || |