Commit d7b68ca7 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix a dumb mistake in an error message, where I put '%' in the format

string instead of '%i.

Also, build libnetmon with debugging symbols so that if we are able to
make it dump core, we can hopefully find out useful information.
parent ee041880
......@@ -7,7 +7,7 @@
SYSTEM := $(shell uname -s)
# I like using -pedantic, but it gives us some trouble with function pointers
CFLAGS=-Wall -Werror -std=c99
CFLAGS=-Wall -Werror -std=c99 -g
ifeq ($(SYSTEM),Linux)
......@@ -708,7 +708,7 @@ void printlog(logmsg_t type, int fd, ...) {
if (!monitor_udp) { print = false; }
print_value = false;
croak("Invalid type (%) passed to printlog()\n",type);
croak("Invalid type (%i) passed to printlog()\n",type);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment