summaryrefslogtreecommitdiff
path: root/libgphoto2_port/disk
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-07-22 21:12:25 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-07-22 21:12:25 +0000
commit54d08ad20ccf0d4b34df080541916b302c49257f (patch)
tree12be1ed1fccff4bc6b4875fab515db47ab6ffd97 /libgphoto2_port/disk
parent03710f7ef9c34585d447e5c915dbc77bf8fbd681 (diff)
downloadlibgphoto2-54d08ad20ccf0d4b34df080541916b302c49257f.tar.gz
From: Axel Waggershauser <awagger@web.de>
here are the logging cleanup patches for the remaining libgphoto_port backend libs, that I announced earlier. 14 and 15 are equivalent to 3,4,5 as before. 16 removes 4 left instances of _(...) macro usage in log messages. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15106 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/disk')
-rw-r--r--libgphoto2_port/disk/disk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libgphoto2_port/disk/disk.c b/libgphoto2_port/disk/disk.c
index d6c936e29..52ae5e466 100644
--- a/libgphoto2_port/disk/disk.c
+++ b/libgphoto2_port/disk/disk.c
@@ -103,8 +103,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(GP_LOG_DEBUG, "gphoto2-port/disk",
- "found fstab fsname %s", mntent->mnt_fsname);
+ GP_LOG_D ("found fstab fsname %s", mntent->mnt_fsname);
if ((NULL != strstr(mntent->mnt_fsname,"fd")) ||
(NULL != strstr(mntent->mnt_fsname,"floppy")) ||
@@ -165,8 +164,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(GP_LOG_DEBUG, "gphoto2-port/disk",
- "found mtab fsname %s", mntent->mnt_fsname);
+ GP_LOG_D ("found mtab fsname %s", mntent->mnt_fsname);
if ((NULL != strstr(mntent->mnt_fsname,"fd")) ||
(NULL != strstr(mntent->mnt_fsname,"floppy")) ||