summaryrefslogtreecommitdiff
path: root/usr/src/lib/libumem/common/envvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libumem/common/envvar.c')
-rw-r--r--usr/src/lib/libumem/common/envvar.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/src/lib/libumem/common/envvar.c b/usr/src/lib/libumem/common/envvar.c
index 6c57d9553e..25758aa2e7 100644
--- a/usr/src/lib/libumem/common/envvar.c
+++ b/usr/src/lib/libumem/common/envvar.c
@@ -25,7 +25,7 @@
*/
/*
- * Copyright (c) 2012 Joyent, Inc. All rights reserved.
+ * Copyright (c) 2019 Joyent, Inc.
* Copyright (c) 2015 by Delphix. All rights reserved.
*/
@@ -539,6 +539,13 @@ process_item(const umem_env_item_t *item, const char *item_arg)
case ITEM_SIZE:
arg_required = 1;
break;
+
+ default:
+ /*
+ * These are flags that aren't supported, so they'll error out
+ * below.
+ */
+ break;
}
switch (item->item_type) {