]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
losetup: fix outdated comment
authorYuriy M. Kaminskiy <yumkam@gmail.com>
Wed, 13 Apr 2016 14:36:36 +0000 (17:36 +0300)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Apr 2016 09:04:16 +0000 (11:04 +0200)
From abb2a420924c792be33aa3ed825b1348ea7d51a9 Mon Sep 17 00:00:00 2001
From: "Yuriy M. Kaminskiy" <yumkam@gmail.com>
Date: Wed, 13 Apr 2016 17:30:10 +0300
Subject: [PATCH] losetup: fix outdated comment

--direct-io argument was made optional by
f98d9641a371421640a8f1cfe497030758f86dca, but this comment was not
updated accordingly

Signed-off-by: Yuriy M. Kaminskiy <yumkam@gmail.com>
sys-utils/losetup.c

index 1d57ab3414f44f79cf65294cca071b859d49cc92..2ae6ace27f9d1cce79ac1facb5dbb7f830610afd 100644 (file)
@@ -626,7 +626,7 @@ int main(int argc, char **argv)
                /*
                 * losetup [--list] <device>
                 * OR
-                * losetup --direct-io DIO <device>
+                * losetup --direct-io[=off] <device>
                 */
                if (!set_dio)
                        act = A_SHOW_ONE;