From 846cb235853c553e7196c131dd0dd6a688116de3 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 19 Mar 2026 07:32:46 +0000 Subject: 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 --- util/nvmutil/lib/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/nvmutil/lib/state.c') 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; -- cgit v1.2.1