From: Karel Zak Date: Wed, 22 Apr 2020 08:32:49 +0000 (+0200) Subject: eject: fix compiler warning [-Wformat-overflow] X-Git-Tag: v2.35.2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24fa7d60ea0b5838b5eaef2a0455fca4adfadeda;p=thirdparty%2Futil-linux.git eject: fix compiler warning [-Wformat-overflow] Signed-off-by: Karel Zak --- diff --git a/sys-utils/eject.c b/sys-utils/eject.c index 2f3b200bf8..7d7fa67a08 100644 --- a/sys-utils/eject.c +++ b/sys-utils/eject.c @@ -888,7 +888,7 @@ int main(int argc, char **argv) } if (!ctl.device) - errx(EXIT_FAILURE, _("%s: unable to find device"), ctl.device); + errx(EXIT_FAILURE, _("unable to find device")); verbose(&ctl, _("device name is `%s'"), ctl.device);