[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 05/10: eth-multiplexer: Fix debug macro.
From: |
Samuel Thibault |
Subject: |
[hurd] 05/10: eth-multiplexer: Fix debug macro. |
Date: |
Sun, 19 Nov 2017 15:27:17 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 5624d5437a35a82fa518fe0e33802a7a50f5bb15
Author: Justus Winter <address@hidden>
Date: Thu Sep 21 13:26:48 2017 +0200
eth-multiplexer: Fix debug macro.
* eth-multiplexer/util.h (debug): Avoid format string warning.
---
eth-multiplexer/util.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eth-multiplexer/util.h b/eth-multiplexer/util.h
index 1e062c4..e1b6885 100644
--- a/eth-multiplexer/util.h
+++ b/eth-multiplexer/util.h
@@ -36,9 +36,9 @@
#define debug(format, ...) do \
{ \
- char buf[1024]; \
- snprintf (buf, 1024, "multiplexer: %s: %s\n", __func__, format); \
- fprintf (stderr , buf, ## __VA_ARGS__); \
+ fprintf (stderr, "eth-multiplexer: %s: ", __func__); \
+ fprintf (stderr, format, ## __VA_ARGS__); \
+ fprintf (stderr, "\n"); \
fflush (stderr); \
} while (0)
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (796f878 -> 83fef6c), Samuel Thibault, 2017/11/19
- [hurd] 02/10: libdiskfs: Improve error message., Samuel Thibault, 2017/11/19
- [hurd] 03/10: eth-multiplexer: Remove unused function., Samuel Thibault, 2017/11/19
- [hurd] 06/10: eth-multiplexer: Remove unused macro., Samuel Thibault, 2017/11/19
- [hurd] 09/10: pfinet: Fix array size hardcoded value, Samuel Thibault, 2017/11/19
- [hurd] 01/10: fshelp: Fix fetching control ports., Samuel Thibault, 2017/11/19
- [hurd] 08/10: pfinet: Avoid returning udp errors unless requested, Samuel Thibault, 2017/11/19
- [hurd] 10/10: Make devprobe able to talk with userland drivers, Samuel Thibault, 2017/11/19
- [hurd] 05/10: eth-multiplexer: Fix debug macro.,
Samuel Thibault <=
- [hurd] 04/10: eth-multiplexer: Simplify device creation., Samuel Thibault, 2017/11/19
- [hurd] 07/10: eth-multiplexer: Avoid copying data multiple times., Samuel Thibault, 2017/11/19