svn commit: r218805 - projects/pf/pf45/contrib/pf/pfctl
Bjoern A. Zeeb
bz at FreeBSD.org
Fri Feb 18 16:01:15 UTC 2011
Author: bz
Date: Fri Feb 18 16:01:14 2011
New Revision: 218805
URL: http://svn.freebsd.org/changeset/base/218805
Log:
Make compile on all architectures.
Modified:
projects/pf/pf45/contrib/pf/pfctl/pfctl.c
Modified: projects/pf/pf45/contrib/pf/pfctl/pfctl.c
==============================================================================
--- projects/pf/pf45/contrib/pf/pfctl/pfctl.c Fri Feb 18 16:00:26 2011 (r218804)
+++ projects/pf/pf45/contrib/pf/pfctl/pfctl.c Fri Feb 18 16:01:14 2011 (r218805)
@@ -691,10 +691,10 @@ pfctl_id_kill_states(int dev, const char
}
memset(&psk, 0, sizeof(psk));
- if ((sscanf(state_kill[1], "%llx/%x",
+ if ((sscanf(state_kill[1], "%jx/%x",
&psk.psk_pfcmp.id, &psk.psk_pfcmp.creatorid)) == 2)
HTONL(psk.psk_pfcmp.creatorid);
- else if ((sscanf(state_kill[1], "%llx", &psk.psk_pfcmp.id)) == 1) {
+ else if ((sscanf(state_kill[1], "%jx", &psk.psk_pfcmp.id)) == 1) {
psk.psk_pfcmp.creatorid = 0;
} else {
warnx("wrong id format specified");
More information about the svn-src-projects
mailing list