summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 69cf929a..905ca708 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -9,7 +9,7 @@ main(int argc, char *argv[])
xpledge("stdio rpath wpath unveil", NULL);
for (int i = 0; i < 6; i++)
if (strcmp(COMMAND, op[i].str) == 0)
- if (!(cmd = argc >= op[i].args ? op[i].cmd : NULL))
+ if ((cmd = argc >= op[i].args ? op[i].cmd : NULL))
break;
if (cmd == cmd_setmac)
strMac = (argc > 3) ? MAC_ADDRESS : strRMac;