Pino Toscano
2014-Jan-15 13:03 UTC
[Libguestfs] [PATCH] fuse: remove extra trailing \n in debug messages
debug() adds it already.
---
src/fuse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fuse.c b/src/fuse.c
index d684c84..288c02a 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -68,7 +68,7 @@ gl_lock_define_initialized (static, mount_local_lock);
#define DEBUG_CALL(fs,...) \
if (g->ml_debug_calls) { \
debug (g, \
- "%s: %s (" fs ")\n",
\
+ "%s: %s (" fs ")",
\
g->localmountpoint, __func__, ## __VA_ARGS__); \
}
--
1.8.3.1
Richard W.M. Jones
2014-Jan-15 13:29 UTC
Re: [Libguestfs] [PATCH] fuse: remove extra trailing \n in debug messages
On Wed, Jan 15, 2014 at 02:03:25PM +0100, Pino Toscano wrote:> debug() adds it already.ACK. You can just commit these kinds of obvious cleanups. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
Maybe Matching Threads
- [PATCH v2] fuse: mount_local: Fix crash when called from Java binding.
- [RFC] fuse: mount_local: Fix crash when called from Java binding
- [PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
- [PATCH v2] New APIs: mount-local and umount-local using FUSE
- [PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.