diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-03 15:58:46 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-03 15:58:46 +0000 |
| commit | 7fefeba076f2cb9af248a23cd2b197f3e4d94743 (patch) | |
| tree | 8bd1b5c9f81d259eac74d102d1df1300d3927217 /util/nvmutil/nvmutil.c | |
| parent | f1ee2ff63058b96c89669581fe8058923ae7dd67 (diff) | |
util/nvmutil: use const char in usage
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 90ffeaa6..24508836 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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); |
