diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-06 14:42:57 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-06 14:42:57 +0000 |
| commit | cc47a756f2bd2569e1f1fdceb3f2cb2b49591586 (patch) | |
| tree | aff9fc3948e886bca9a2bcf6432793fe76c9afe9 | |
| parent | e7cbd9441c00aac46aa94acfc12ed8d9f16040b2 (diff) | |
util/nvmutil: make rmac an array, not a literal.
this prevents reassignment.
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index f1c87d2d..c5510e8f 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -91,7 +91,7 @@ static int invert; static int part_modified[2]; static const char *mac = NULL; -static const char *rmac = "xx:xx:xx:xx:xx:xx"; +static const char rmac[] = "xx:xx:xx:xx:xx:xx"; static const char *fname = ""; static const char *argv0; |
