Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Use proper format string
details: https://anonhg.NetBSD.org/src/rev/634d551e6cea
branches: trunk
changeset: 765364:634d551e6cea
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 16:37:49 2011 +0000
description:
Use proper format string
diffstat:
sys/net/if_gre.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dbe52a7ad68b -r 634d551e6cea sys/net/if_gre.c
--- a/sys/net/if_gre.c Tue May 24 16:37:04 2011 +0000
+++ b/sys/net/if_gre.c Tue May 24 16:37:49 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index