Fix build errors when ENABLE_VERBOSE is not set #60

Merged
merged 1 commit into from Jan 29, 2014

Conversation

Projects
None yet
2 participants
Contributor

cpackham commented Jan 22, 2014

Fixes #59

When ENABLE_VERBOSE is not set some additional calls to tcpreplay_seterr
are made. When conforming to C99 variadic macros at least one argument is
required after the format string[1]. To avoid this problem update the
calls to tcpreplay_seterr to use a "%s" format string.

[1] - http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html

Signed-off-by: Chris Packham judge.packham@gmail.com

@cpackham cpackham Fix build errors when ENABLE_VERBOSE is not set
Fixes #59

When ENABLE_VERBOSE is not set some additional calls to tcpreplay_seterr
are made. When conforming to C99 variadic macros at least one argument is
required after the format string[1]. To avoid this problem update the
calls to tcpreplay_seterr to use a "%s" format string.

[1] - http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
12d0d08

@fklassen fklassen added a commit that referenced this pull request Jan 29, 2014

@fklassen fklassen Merge pull request #60 from cpackham/tcpreplay_seterr
Fix build errors when ENABLE_VERBOSE is not set
9fd5eb5

@fklassen fklassen merged commit 9fd5eb5 into appneta:master Jan 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment