summaryrefslogtreecommitdiff
path: root/net/pimdd/files/patch-debug.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-09-07 19:34:40 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-09-07 19:34:40 +0000
commit7984fcdc8f89451d7cf1f3eb323e94423665090f (patch)
tree6ad15cf8fbe14154ca8c9ffe9d5e513f7bce494b /net/pimdd/files/patch-debug.c
parentRename and split net/mcast-tools into net/pim6-tools, net/pim6sd, (diff)
- Add LICENSE.
- Do not override CFLAGS. - Fix some compiler warnings. - Take maintainership.
Notes
Notes: svn path=/head/; revision=396343
Diffstat (limited to 'net/pimdd/files/patch-debug.c')
-rw-r--r--net/pimdd/files/patch-debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/pimdd/files/patch-debug.c b/net/pimdd/files/patch-debug.c
index 41a8adbb4c0e..b1f6393b8839 100644
--- a/net/pimdd/files/patch-debug.c
+++ b/net/pimdd/files/patch-debug.c
@@ -1,6 +1,6 @@
---- debug.c.orig Fri Sep 29 11:54:42 2006
-+++ debug.c Fri Sep 29 11:55:06 2006
-@@ -378,6 +378,7 @@
+--- debug.c.orig 1999-11-30 17:58:53 UTC
++++ debug.c
+@@ -378,6 +378,7 @@ log(int severity, int syserr, char *form
static char fmt[211] = "warning - ";
char *msg;
struct timeval now;
@@ -8,7 +8,7 @@
struct tm *thyme;
va_start(ap, format);
-@@ -394,6 +395,7 @@
+@@ -394,6 +395,7 @@ log(severity, syserr, format, va_alist)
char *msg;
char tbuf[20];
struct timeval now;
@@ -16,7 +16,7 @@
struct tm *thyme;
va_start(ap);
-@@ -408,7 +410,8 @@
+@@ -408,7 +410,8 @@ log(severity, syserr, format, va_alist)
*/
if (haveterminal && (debug || severity <= LOG_WARNING)) {
gettimeofday(&now,NULL);