]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsns: fix old error message
authorKarel Zak <kzak@redhat.com>
Mon, 3 May 2021 08:59:45 +0000 (10:59 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 24 May 2021 11:39:53 +0000 (13:39 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lsns.c

index 614fb8fc541d06fb9fc2d1d8da9a2ffb9faa3184..80e9d881921d8b0403d2f945838a1733b36ae420 100644 (file)
@@ -1319,7 +1319,7 @@ int main(int argc, char *argv[])
                                else if (strcmp (optarg, "process") == 0)
                                        ls.tree = LSNS_TREE_PROCESS;
                                else if (strcmp (optarg, "owner") != 0)
-                                       errx(EXIT_FAILURE, _("unknown nstree type: %s"), optarg);
+                                       errx(EXIT_FAILURE, _("unknown tree type: %s"), optarg);
                        }
                        break;