util/nvmutil: use const char in usage

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-03 15:58:46 +00:00
parent f1ee2ff630
commit 7fefeba076
+2 -2
View File
@@ -44,7 +44,7 @@ static void check_bound(int, int);
static void write_gbe(void);
static void write_gbe_part(int);
static void swap(int);
static void usage(char *);
static void usage(const char *);
static void err_if(int);
static int set_err(int);
@@ -546,7 +546,7 @@ swap(int partnum)
}
static void
usage(char *util)
usage(const char *util)
{
#ifdef __OpenBSD__
err_if(pledge("stdio", NULL) == -1);