Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib/libshmif Fix compile error.
details: https://anonhg.NetBSD.org/src/rev/23b434763c9b
branches: trunk
changeset: 357022:23b434763c9b
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Oct 23 12:55:26 2017 +0000
description:
Fix compile error.
diffstat:
sys/rump/net/lib/libshmif/if_shmem.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 1f2339622219 -r 23b434763c9b sys/rump/net/lib/libshmif/if_shmem.c
--- a/sys/rump/net/lib/libshmif/if_shmem.c Mon Oct 23 11:21:56 2017 +0000
+++ b/sys/rump/net/lib/libshmif/if_shmem.c Mon Oct 23 12:55:26 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_shmem.c,v 1.73 2017/10/23 09:31:18 msaitoh Exp $ */
+/* $NetBSD: if_shmem.c,v 1.74 2017/10/23 12:55:26 msaitoh Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.73 2017/10/23 09:31:18 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.74 2017/10/23 12:55:26 msaitoh Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -189,7 +189,8 @@
error = if_initialize(ifp);
if (error != 0) {
- aprint_error("shmif%d: if_initialize failed(%d)\n", unit, rv);
+ aprint_error("shmif%d: if_initialize failed(%d)\n", unit,
+ error);
cv_destroy(&sc->sc_cv);
mutex_destroy(&sc->sc_mtx);
kmem_free(sc, sizeof(*sc));
Home |
Main Index |
Thread Index |
Old Index