diff options
| author | Darren Reed <Darren.Reed@Sun.COM> | 2009-11-24 13:11:23 -0800 |
|---|---|---|
| committer | Darren Reed <Darren.Reed@Sun.COM> | 2009-11-24 13:11:23 -0800 |
| commit | b50f3686f8648cf002fd38447a5a22d6cbcd270c (patch) | |
| tree | ebaffd565088631b13757a24fa8d4cde72b49220 /usr/src/uts/common/io/bpf | |
| parent | 35c1a433b4eedbab73196702f2d16866313bad25 (diff) | |
| download | illumos-gate-b50f3686f8648cf002fd38447a5a22d6cbcd270c.tar.gz | |
6904439 Solaris bpf should be lint clean
Diffstat (limited to 'usr/src/uts/common/io/bpf')
| -rw-r--r-- | usr/src/uts/common/io/bpf/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/bpf/bpf.c b/usr/src/uts/common/io/bpf/bpf.c index 90bf05cd67..92dcb545da 100644 --- a/usr/src/uts/common/io/bpf/bpf.c +++ b/usr/src/uts/common/io/bpf/bpf.c @@ -386,7 +386,7 @@ bpf_detachd(struct bpf_d *d) */ 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)); } |
