]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: (sample) fix error message
authorKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:14:39 +0000 (22:14 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:47 +0000 (22:25 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/samples/fromfile.c

index 2efac4cf1ab686b2720b0488b15bd3723ee8d1e3..f9c9fdff913fd10faddd75dc7f2d774bd3d2ab24 100644 (file)
@@ -156,7 +156,7 @@ static struct libscols_filter *init_filter(
                scols_dump_filter(f, stdout);
        if (rc) {
                scols_unref_filter(f);
-               err(EXIT_FAILURE, "failed to initialize filter");
+               errx(EXIT_FAILURE, "failed to initialize filter");
        }
 
        return f;