summaryrefslogtreecommitdiffstats
path: root/usr.sbin/binmiscctl/binmiscctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/binmiscctl/binmiscctl.c')
-rw-r--r--usr.sbin/binmiscctl/binmiscctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/binmiscctl/binmiscctl.c b/usr.sbin/binmiscctl/binmiscctl.c
index 196247b..5ab82e4 100644
--- a/usr.sbin/binmiscctl/binmiscctl.c
+++ b/usr.sbin/binmiscctl/binmiscctl.c
@@ -363,7 +363,7 @@ add_cmd(__unused int argc, char *argv[], ximgact_binmisc_entry_t *xbe)
usage("Error: Missing magic argument");
}
- if (!xbe->xbe_interpreter) {
+ if (!strnlen(xbe->xbe_interpreter, IBE_INTERP_LEN_MAX)) {
usage("Error: Missing 'interpreter' argument");
}
OpenPOWER on IntegriCloud