summaryrefslogtreecommitdiffstats
path: root/sbin/nos-tun
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-02 16:06:35 +0000
committerbde <bde@FreeBSD.org>1998-08-02 16:06:35 +0000
commitb7b0859c3f4470d1bd2770f26c5af6f037833993 (patch)
treef19b09078f6555282c806798e61ed7b7b564fa2c /sbin/nos-tun
parentdbc09be291ed507f26f3b2f3fbad6b02ef6bf476 (diff)
downloadFreeBSD-src-b7b0859c3f4470d1bd2770f26c5af6f037833993.zip
FreeBSD-src-b7b0859c3f4470d1bd2770f26c5af6f037833993.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sbin/nos-tun')
-rw-r--r--sbin/nos-tun/nos-tun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nos-tun/nos-tun.c b/sbin/nos-tun/nos-tun.c
index 9b9d6d4..20058ca 100644
--- a/sbin/nos-tun/nos-tun.c
+++ b/sbin/nos-tun/nos-tun.c
@@ -50,7 +50,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: nos-tun.c,v 1.3 1998/07/15 06:38:53 charnier Exp $";
#endif /* not lint */
#include <fcntl.h>
@@ -120,7 +120,7 @@ int tun_open(char *devname, struct sockaddr *ouraddr, char *theiraddr)
s = socket(AF_INET, SOCK_DGRAM, 0);
if (s < 0) {
- syslog(LOG_ERR,"can't open socket - %M");
+ syslog(LOG_ERR,"can't open socket - %m");
goto tunc_return;
}
OpenPOWER on IntegriCloud