]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[#15,!10] Addressed review comments
authorThomas Markwalder <tmark@isc.org>
Wed, 12 Jun 2019 11:06:14 +0000 (07:06 -0400)
committerThomas Markwalder <tmark@isc.org>
Wed, 12 Jun 2019 13:57:33 +0000 (09:57 -0400)
omapip/errwarn.c

index 62e0d5ee12b6b5043dc9147b7b481999fcadfaa1..2bb50fd08656ef64258f47895f6cccd6966030f5 100644 (file)
@@ -54,7 +54,7 @@ void log_fatal (const char * fmt, ... )
 {
   va_list list;
 
-  do_percentm (fbuf, sizeof(fbuf), fmt);
+  do_percentm (fbuf, sizeof fbuf, fmt);
 
   /* %Audit% This is log output. %2004.06.17,Safe%
    * If we truncate we hope the user can get a hint from the log.
@@ -93,7 +93,7 @@ int log_error (const char * fmt, ...)
 {
   va_list list;
 
-  do_percentm (fbuf, sizeof(fbuf), fmt);
+  do_percentm (fbuf, sizeof fbuf, fmt);
 
   /* %Audit% This is log output. %2004.06.17,Safe%
    * If we truncate we hope the user can get a hint from the log.
@@ -120,7 +120,7 @@ int log_info (const char *fmt, ...)
 {
   va_list list;
 
-  do_percentm (fbuf, sizeof(fbuf), fmt);
+  do_percentm (fbuf, sizeof fbuf, fmt);
 
   /* %Audit% This is log output. %2004.06.17,Safe%
    * If we truncate we hope the user can get a hint from the log.
@@ -147,7 +147,7 @@ int log_debug (const char *fmt, ...)
 {
   va_list list;
 
-  do_percentm (fbuf, sizeof(fbuf), fmt);
+  do_percentm (fbuf, sizeof fbuf, fmt);
 
   /* %Audit% This is log output. %2004.06.17,Safe%
    * If we truncate we hope the user can get a hint from the log.