Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser lint care
details: https://anonhg.NetBSD.org/src/rev/693b5c364d8b
branches: trunk
changeset: 759182:693b5c364d8b
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Nov 30 22:32:01 2010 +0000
description:
lint care
diffstat:
lib/librumpuser/rumpuser_sp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 71f8173ebb03 -r 693b5c364d8b lib/librumpuser/rumpuser_sp.c
--- a/lib/librumpuser/rumpuser_sp.c Tue Nov 30 22:30:43 2010 +0000
+++ b/lib/librumpuser/rumpuser_sp.c Tue Nov 30 22:32:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_sp.c,v 1.21 2010/11/29 16:08:03 pooka Exp $ */
+/* $NetBSD: rumpuser_sp.c,v 1.22 2010/11/30 22:32:01 pooka Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpuser_sp.c,v 1.21 2010/11/29 16:08:03 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_sp.c,v 1.22 2010/11/30 22:32:01 pooka Exp $");
#include <sys/types.h>
#include <sys/atomic.h>
@@ -375,6 +375,7 @@
* Nobody's going to attempt to send/receive anymore,
* so reinit info relevant to that.
*/
+ /*LINTED:pointer casts may be ok*/
memset((char *)spc + SPC_ZEROFF, 0, sizeof(*spc) - SPC_ZEROFF);
spcrelease(spc);
Home |
Main Index |
Thread Index |
Old Index