[lxc-devel] [lxcfs/master] bindings: fix debug macro
brauner on Github
lxc-bot at linuxcontainers.org
Tue Aug 30 08:30:19 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 353 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160830/87b796d1/attachment.bin>
-------------- next part --------------
From e9992c47cf3b2b35a54904e6a70dae61d73aa7c2 Mon Sep 17 00:00:00 2001
From: Christian Brauner <cbrauner at suse.de>
Date: Tue, 30 Aug 2016 10:26:44 +0200
Subject: [PATCH] bindings: fix debug macro
Signed-off-by: Christian Brauner <cbrauner at suse.de>
---
bindings.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings.h b/bindings.h
index c295104..94e5591 100644
--- a/bindings.h
+++ b/bindings.h
@@ -4,7 +4,7 @@
#define lxcfs_debug_stream(stream, format, ...) \
do { \
- fprintf(stderr, "%s: %d: %s: " format, __FILE__, __LINE__, \
+ fprintf(stream, "%s: %d: %s: " format, __FILE__, __LINE__, \
__func__, __VA_ARGS__); \
} while (false)
More information about the lxc-devel
mailing list