]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
unshare: fix error message for unexpected time offsets
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 25 Jun 2023 11:28:19 +0000 (13:28 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jun 2023 10:02:32 +0000 (12:02 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
sys-utils/unshare.c

index 2aa239eff006494f3acc03781b0c7180bd8c6539..29fad711421bb6f0a9aadf2da24a29c57cd76b09 100644 (file)
@@ -914,7 +914,7 @@ int main(int argc, char *argv[])
 
        if ((force_monotonic || force_boottime) && !(unshare_flags & CLONE_NEWTIME))
                errx(EXIT_FAILURE, _("options --monotonic and --boottime require "
-                       "unsharing of a time namespace (-t)"));
+                       "unsharing of a time namespace (-T)"));
 
        /* clear any inherited settings */
        signal(SIGCHLD, SIG_DFL);