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 pass Wall
details: https://anonhg.NetBSD.org/src/rev/c98a09be0359
branches: trunk
changeset: 757060:c98a09be0359
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Aug 12 17:00:41 2010 +0000
description:
pass Wall
diffstat:
sys/rump/net/lib/libshmif/dumpbus.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 83714febb0f8 -r c98a09be0359 sys/rump/net/lib/libshmif/dumpbus.c
--- a/sys/rump/net/lib/libshmif/dumpbus.c Thu Aug 12 09:42:53 2010 +0000
+++ b/sys/rump/net/lib/libshmif/dumpbus.c Thu Aug 12 17:00:41 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dumpbus.c,v 1.1 2010/08/11 12:41:09 pooka Exp $ */
+/* $NetBSD: dumpbus.c,v 1.2 2010/08/12 17:00:41 pooka Exp $ */
/*
* Little utility to convert shmif bus traffic to a pcap file
@@ -13,6 +13,8 @@
#include <fcntl.h>
#include <pcap.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
/* XXX: sync with driver */
@@ -130,4 +132,6 @@
err(1, "write packet");
curbus += pktlen;
}
+
+ return 0;
}
Home |
Main Index |
Thread Index |
Old Index