aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/gol_argv.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-10-17 23:49:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-10-17 23:49:31 +0000
commitde3b3f3bb9653680e2f5be4ff9e353ac1bd7a6a5 (patch)
tree4f7c5da99c69a49df33276be2eb3b587c64094d0 /src/libstddjb/gol_argv.c
parenta58812d5404844274298344babdb079e161d164f (diff)
downloadskalibs-de3b3f3bb9653680e2f5be4ff9e353ac1bd7a6a5.tar.gz
Clean up internal strerr_die invocations
Diffstat (limited to 'src/libstddjb/gol_argv.c')
-rw-r--r--src/libstddjb/gol_argv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstddjb/gol_argv.c b/src/libstddjb/gol_argv.c
index 9e648e3..aa714c4 100644
--- a/src/libstddjb/gol_argv.c
+++ b/src/libstddjb/gol_argv.c
@@ -13,14 +13,14 @@ unsigned int gol_argv (char const *const *argv, gol_bool const *b, unsigned int
if (problem > 0)
{
char s[2] = { argv[-r-1][problem], 0 } ;
- strerr_dief4x(100, "unrecognized ", "short ", "option: ", s) ;
+ strerr_dief(100, "unrecognized ", "short ", "option: ", s) ;
}
else if (!problem)
- strerr_dief3x(100, "invalid ", "option: ", argv[-r-1]) ;
+ strerr_dief(100, "invalid ", "option: ", argv[-r-1]) ;
else if (problem == -1)
- strerr_dief4x(100, "unrecognized ", "boolean ", "option: ", argv[-r-1]) ;
+ strerr_dief(100, "unrecognized ", "boolean ", "option: ", argv[-r-1]) ;
else
- strerr_dief3x(100, "unrecognized ", "option with argument: ", argv[-r-1]) ;
+ strerr_dief(100, "unrecognized ", "option with argument: ", argv[-r-1]) ;
}
else return r ;
}