diff options
author | Ed Maste <emaste@FreeBSD.org> | 2016-05-05 15:07:40 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2016-05-05 15:07:40 +0000 |
commit | c2ec037ff5aa65aa9d49d579994cbcf16e2921fc (patch) | |
tree | 3dfa590eac8370114d538e36df8cea3cbc223661 /sys/dev/bhnd/bhnd_subr.c | |
parent | d7dc6bae0391a8c92918893057450ab57796943a (diff) | |
download | src-c2ec037ff5aa65aa9d49d579994cbcf16e2921fc.tar.gz src-c2ec037ff5aa65aa9d49d579994cbcf16e2921fc.zip |
bhnd: fix build on gcc architectures
"make tinderbox" fails on sparc64 GENERIC-NODEBUG with:
bhnd_subr.c:188: warning: control reaches end of non-void function
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=299119
Diffstat (limited to 'sys/dev/bhnd/bhnd_subr.c')
-rw-r--r-- | sys/dev/bhnd/bhnd_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bhnd/bhnd_subr.c b/sys/dev/bhnd/bhnd_subr.c index 1d5557b024d9..5f92e9d73472 100644 --- a/sys/dev/bhnd/bhnd_subr.c +++ b/sys/dev/bhnd/bhnd_subr.c @@ -184,6 +184,8 @@ bhnd_port_type_name(bhnd_port_type port_type) return ("bridge"); case BHND_PORT_AGENT: return ("agent"); + default: + return "unknown"; } } |