changeset 11187:ed4ed49634b9

6904439 Solaris bpf should be lint clean
author Darren Reed <Darren.Reed@Sun.COM>
date Tue, 24 Nov 2009 13:11:23 -0800
parents 8e156cb73582
children b9638bc89f67
files usr/src/uts/common/io/bpf/bpf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/bpf/bpf.c	Mon Nov 23 23:03:57 2009 -0800
+++ b/usr/src/uts/common/io/bpf/bpf.c	Tue Nov 24 13:11:23 2009 -0800
@@ -386,7 +386,7 @@
 	 */
 	mutex_enter(&d->bd_lock);
 	*d->bd_ifname = '\0';
-	memset(&d->bd_mac, 0, sizeof (d->bd_mac));
+	(void) memset(&d->bd_mac, 0, sizeof (d->bd_mac));
 }