summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/superio/superio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/superio/superio.c b/sys/dev/superio/superio.c
index 5a9591e4d466..5bf0b08fe769 100644
--- a/sys/dev/superio/superio.c
+++ b/sys/dev/superio/superio.c
@@ -419,7 +419,7 @@ devtype_to_str(superio_dev_type_t type)
{
switch (type) {
case SUPERIO_DEV_NONE:
- return ("invalid");
+ return ("none");
case SUPERIO_DEV_HWM:
return ("HWM");
case SUPERIO_DEV_WDT:
@@ -429,6 +429,7 @@ devtype_to_str(superio_dev_type_t type)
case SUPERIO_DEV_MAX:
return ("invalid");
}
+ return ("invalid");
}
static int