Author: ae
Date: Mon Dec  4 09:17:28 2017
New Revision: 326510
URL: https://svnweb.freebsd.org/changeset/base/326510

Log:
  Fix format string warning with enabled DEBUGGING.
  
  MFC after:    1 week

Modified:
  head/contrib/bsnmp/snmpd/config.c

Modified: head/contrib/bsnmp/snmpd/config.c
==============================================================================
--- head/contrib/bsnmp/snmpd/config.c   Mon Dec  4 08:50:00 2017        
(r326509)
+++ head/contrib/bsnmp/snmpd/config.c   Mon Dec  4 09:17:28 2017        
(r326510)
@@ -663,7 +663,7 @@ gettoken()
                        printf("(EOL)");
                        break;
                  case TOK_NUM:
-                       printf("(NUM %llu)", numval);
+                       printf("(NUM %ju)", (uintmax_t)numval);
                        break;
                  case TOK_STR:
                        printf("(STR %.*s)", (int)strvallen, strval);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to