summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-03 15:06:39 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-03 15:06:39 +0000
commitbfb77077b376791efa49a373d2052f7006575b9c (patch)
tree7c33ed104375e49d9acdb4ad3788ec2c592b5c7c
parenta8a9ce32f18b3d063504cec7474bbb99dcf4cf36 (diff)
util/nvmutil: use const for string literal in op
Signed-off-by: Leah Rowe <leah@libreboot.org>
-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 9020cce5..a558b338 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -77,7 +77,7 @@ const char *rmac = "xx:xx:xx:xx:xx:xx";
const char *fname = "";
typedef struct op {
- char *str;
+ const char *str;
void (*cmd)(void);
int args;
} op_t;