From: Tobias Stoeckmann Date: Thu, 2 Apr 2026 21:09:37 +0000 (+0200) Subject: Remove ending punctation from err messages X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5506e6294dcca1f8a3ad099139be51611ffe10ae;p=thirdparty%2Futil-linux.git Remove ending punctation from err messages Since err() appends more data separated by a colon, do not add a fullstop to error message. Signed-off-by: Tobias Stoeckmann --- diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c index 65de1628e..5fde719b3 100644 --- a/login-utils/utmpdump.c +++ b/login-utils/utmpdump.c @@ -181,7 +181,7 @@ static int follow_by_inotify(FILE *in, const char *filename, FILE *out) wd = inotify_add_watch(fd, filename, EVENTS); if (wd == -1) - err(EXIT_FAILURE, _("%s: cannot add inotify watch."), filename); + err(EXIT_FAILURE, _("%s: cannot add inotify watch"), filename); while (wd >= 0) { errno = 0; diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c index 0cf8ee7a4..6fca5e260 100644 --- a/sys-utils/wdctl.c +++ b/sys-utils/wdctl.c @@ -850,7 +850,7 @@ int main(int argc, char *argv[]) if (optind == argc) { dflt_device = get_default_device(); if (!dflt_device) - err(EXIT_FAILURE, _("No default device is available.")); + err(EXIT_FAILURE, _("No default device is available")); } do { diff --git a/tests/helpers/test_md5.c b/tests/helpers/test_md5.c index dc49d2184..b9bb3683e 100644 --- a/tests/helpers/test_md5.c +++ b/tests/helpers/test_md5.c @@ -26,7 +26,7 @@ int main(void) } if(freopen ("/dev/null", "r", stdin) == NULL) - err(EXIT_FAILURE, "stdin->null failed!"); + err(EXIT_FAILURE, "stdin->null failed"); ul_MD5Final( digest, &ctx ); diff --git a/tests/helpers/test_sha1.c b/tests/helpers/test_sha1.c index 7cb107f87..4a040aadd 100644 --- a/tests/helpers/test_sha1.c +++ b/tests/helpers/test_sha1.c @@ -26,7 +26,7 @@ int main(void) } if(freopen ("/dev/null", "r", stdin) == NULL) - err(EXIT_FAILURE, "stdin->null failed!"); + err(EXIT_FAILURE, "stdin->null failed"); ul_SHA1Final( digest, &ctx );