Skip to contentSkip to conversation

losetup: fix outdated comment

PATCH Applied Yuriy M. Kaminskiy 2 participants 2 messages Apr 13, 2016 – Apr 18, 2016 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 losetup: fix outdated comment

Quoted 1 line

From abb2a420924c792be33aa3ed825b1348ea7d51a9 Mon Sep 17 00:00:00 2001

From: "Yuriy M. Kaminskiy" <[email protected]>
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

---
 sys-utils/losetup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sys-utils/losetup.c +1 -1
index 1d57ab3..2ae6ace 100644
@@ -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;
Signature · 1 line
2.1.4
maintainer Applied
#1 lore raw
Quoted 2 lines · Yuriy M. Kaminskiy
 sys-utils/losetup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com