Commit b9ea3aec authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor tweak to previous revision.

parent 2940c4d3
......@@ -42,13 +42,14 @@ client: capture capquery caplog caplog.bin
include $(TESTBED_SRCDIR)/GNUmakerules
DBFLAGS += -I/usr/local/include -I$(TESTBED_LIBSRCDIR)/libtb
LOGPATH = $(TBROOT)/log/tiplogs
# Define LOG_DROPS to record warnings in syslog whenever chars were dropped
# due to the output device/pty being full.
CFLAGS += -DLOGPATH=\"$(TBROOT)/log/tiplogs\"
ifeq ($(SYSTEM),Linux)
......@@ -467,7 +467,7 @@ main(int argc, char **argv)
Machine = argv[0];
programargv = argv;
(void) snprintf(strbuf, sizeof(strbuf), PIDNAME, LOGPATH, argv[0]);
(void) snprintf(strbuf, sizeof(strbuf), PIDNAME, logpath, argv[0]);
Pidname = newstr(strbuf);
(void) snprintf(strbuf, sizeof(strbuf), LOGNAME, logpath, argv[0]);
Logname = newstr(strbuf);
Markdown is supported
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