From 2c94e10b50de89fbcf366e73ab8cf1f86ee3eb83 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 9 Jun 2014 12:09:18 +0200 Subject: [PATCH] libfdisk: fix fdisk_context_assign_device() comment Signed-off-by: Karel Zak --- libfdisk/src/context.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index ec0b6d84ff..5fc4c6526b 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -244,10 +244,6 @@ static int warn_wipe(struct fdisk_context *cxt) * @fname: path to the device to be handled * @readonly: how to open the device * - * If the @readonly flag is set to false, fdisk will attempt to open - * the device with read-write mode and will fallback to read-only if - * unsuccessful. - * * Returns: 0 on success, < 0 on error. */ int fdisk_context_assign_device(struct fdisk_context *cxt, -- 2.39.5