Module Name: src
Committed By: joerg
Date: Tue May 24 16:37:49 UTC 2011
Modified Files:
src/sys/net: if_gre.c
Log Message:
Use proper format string
To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/sys/net/if_gre.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_gre.c
diff -u src/sys/net/if_gre.c:1.144 src/sys/net/if_gre.c:1.145
--- src/sys/net/if_gre.c:1.144 Sat Jun 26 14:24:28 2010
+++ src/sys/net/if_gre.c Tue May 24 16:37:49 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gre.c,v 1.144 2010/06/26 14:24:28 kefren Exp $ */
+/* $NetBSD: if_gre.c,v 1.145 2011/05/24 16:37:49 joerg Exp $ */
/*
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.144 2010/06/26 14:24:28 kefren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.145 2011/05/24 16:37:49 joerg Exp $");
#include "opt_atalk.h"
#include "opt_gre.h"
@@ -350,7 +350,7 @@
sc->sc_fd = -1;
rc = kthread_create(PRI_NONE, KTHREAD_MPSAFE, NULL, gre_fp_recvloop, sc,
- NULL, sc->sc_if.if_xname);
+ NULL, "%s", sc->sc_if.if_xname);
if (rc != 0)
return -1;