22 lines
661 B
Text
22 lines
661 B
Text
$NetBSD: patch-ai,v 1.1 2000/12/28 01:59:26 wiz Exp $
|
|
|
|
--- ppp/atm.c.orig Tue Nov 7 06:45:45 2000
|
|
+++ ppp/atm.c
|
|
@@ -80,7 +80,7 @@
|
|
{
|
|
ssize_t ret = write(p->fd, v, n);
|
|
if (ret < 0) {
|
|
- log_Printf(LogDEBUG, "atm_Sendto(%d): %s\n", n, strerror(errno));
|
|
+ log_Printf(LogDEBUG, "atm_Sendto(%ld): %s\n", (long)n, strerror(errno));
|
|
return ret;
|
|
}
|
|
return ret;
|
|
@@ -91,7 +91,7 @@
|
|
{
|
|
ssize_t ret = read(p->fd, (char*)v, n);
|
|
if (ret < 0) {
|
|
- log_Printf(LogDEBUG, "atm_Recvfrom(%d): %s\n", n, strerror(errno));
|
|
+ log_Printf(LogDEBUG, "atm_Recvfrom(%ld): %s\n", (long)n, strerror(errno));
|
|
return ret;
|
|
}
|
|
return ret;
|