svn commit: r326510 - head/contrib/bsnmp/snmpd
Andrey V. Elsukov
ae at FreeBSD.org
Mon Dec 4 09:17:30 UTC 2017
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);
More information about the svn-src-all
mailing list