summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-05-05 15:07:40 +0000
committeremaste <emaste@FreeBSD.org>2016-05-05 15:07:40 +0000
commita846752fb2cbbd763183a6e9939a23972929942f (patch)
tree3dfa590eac8370114d538e36df8cea3cbc223661 /sys
parent229f59004efd5514c40b23e3e6a5dd5d5dda54fd (diff)
downloadFreeBSD-src-a846752fb2cbbd763183a6e9939a23972929942f.zip
FreeBSD-src-a846752fb2cbbd763183a6e9939a23972929942f.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/bhnd/bhnd_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bhnd/bhnd_subr.c b/sys/dev/bhnd/bhnd_subr.c
index 1d5557b..5f92e9d 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";
}
}
OpenPOWER on IntegriCloud