diff options
author | marcel <marcel@FreeBSD.org> | 2004-09-06 00:07:58 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-09-06 00:07:58 +0000 |
commit | 61ba6dfa5fa97aea8293f3f0f002a5ad5ad25e7f (patch) | |
tree | 5c8a2f850d3e0b670252c9a5d737fdab58d5ea8f /usr.sbin/ppp/ether.c | |
parent | daf0815c1de710f7a9de75f195ecc6b317e9d2b9 (diff) | |
download | FreeBSD-src-61ba6dfa5fa97aea8293f3f0f002a5ad5ad25e7f.zip FreeBSD-src-61ba6dfa5fa97aea8293f3f0f002a5ad5ad25e7f.tar.gz |
Fix the build on 64-bit platforms.
Diffstat (limited to 'usr.sbin/ppp/ether.c')
-rw-r--r-- | usr.sbin/ppp/ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ether.c b/usr.sbin/ppp/ether.c index c1461c9..e4e154a 100644 --- a/usr.sbin/ppp/ether.c +++ b/usr.sbin/ppp/ether.c @@ -519,7 +519,7 @@ ether_Create(struct physical *p) * magically exist as a way of hooking stuff onto an ethernet device */ path = (char *)alloca(ifacelen + 2); - sprintf(path, "%.*s:", ifacelen, iface); + sprintf(path, "%.*s:", (int)ifacelen, iface); if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, NULL, 0) < 0) { log_Printf(LogWARN, "%s Cannot send a netgraph message: %s\n", |