From 61ba6dfa5fa97aea8293f3f0f002a5ad5ad25e7f Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 6 Sep 2004 00:07:58 +0000 Subject: Fix the build on 64-bit platforms. --- usr.sbin/ppp/ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/ppp/ether.c') 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", -- cgit v1.1