diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 07:32:46 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:42 +0000 |
| commit | 861cc855803f67334f3bc377d664ab54be34b5cb (patch) | |
| tree | 5a129cef365288f6befdcaf590675e816e587fa7 /util/nvmutil/lib/state.c | |
| parent | 1b82927843801636031c5b00baa1b86ee3e594c2 (diff) | |
nvmutil: remove memcmp/memcpy/strrchr/rename
i had this idea in my head of later porting this
to k&r c for fun. but screw it.
compiling on everything since 1989 is enough
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/lib/state.c')
| -rw-r--r-- | util/nvmutil/lib/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/lib/state.c b/util/nvmutil/lib/state.c index b350330e..55d2deea 100644 --- a/util/nvmutil/lib/state.c +++ b/util/nvmutil/lib/state.c @@ -236,7 +236,7 @@ getnvmprogname(void) rval = x->argv0; } - p = x_c_strrchr(rval, '/'); + p = strrchr(rval, '/'); if (p) return p + 1; |
