diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2014-07-22 21:12:25 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2014-07-22 21:12:25 +0000 |
commit | 54d08ad20ccf0d4b34df080541916b302c49257f (patch) | |
tree | 12be1ed1fccff4bc6b4875fab515db47ab6ffd97 /libgphoto2_port/usbdiskdirect/linux.c | |
parent | 03710f7ef9c34585d447e5c915dbc77bf8fbd681 (diff) | |
download | libgphoto2-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/usbdiskdirect/linux.c')
-rw-r--r-- | libgphoto2_port/usbdiskdirect/linux.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libgphoto2_port/usbdiskdirect/linux.c b/libgphoto2_port/usbdiskdirect/linux.c index 8b7b86bea..44adf1f43 100644 --- a/libgphoto2_port/usbdiskdirect/linux.c +++ b/libgphoto2_port/usbdiskdirect/linux.c @@ -87,8 +87,7 @@ gp_port_usbdiskdirect_lock (GPPort *port, const char *path) #ifdef HAVE_LOCKDEV int pid; - gp_log (GP_LOG_DEBUG, "gphoto2-port-usbdiskdirect", - "Trying to lock '%s'...", path); + GP_LOG_D ("Trying to lock '%s'...", path); pid = dev_lock (path); if (pid) { @@ -276,8 +275,7 @@ gp_port_usbdiskdirect_open (GPPort *port) result = gp_port_usbdiskdirect_lock (port, path); if (result == GP_OK) break; - gp_log (GP_LOG_DEBUG, "gphoto2-port-usbdiskdirect", - "Failed to get a lock, trying again..."); + GP_LOG_D ("Failed to get a lock, trying again..."); sleep (1); } CHECK (result) |