diff options
-rw-r--r-- | usr.bin/elfctl/elfctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/elfctl/elfctl.c b/usr.bin/elfctl/elfctl.c index de14551f76d9..8b3d20d4a9c7 100644 --- a/usr.bin/elfctl/elfctl.c +++ b/usr.bin/elfctl/elfctl.c @@ -116,6 +116,8 @@ main(int argc, char **argv) lflag = true; break; case 'e': + if (features != NULL) + errx(1, "-e may be specified only once"); features = optarg; editfeatures = true; break; |