]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: fix fdisk_context_assign_device() comment
authorKarel Zak <kzak@redhat.com>
Mon, 9 Jun 2014 10:09:18 +0000 (12:09 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Jun 2014 10:09:18 +0000 (12:09 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/context.c

index ec0b6d84ffa7ea4e2f86e41031a92f38025921b1..5fc4c6526ba5d518002d76cc275ffb1f9861c105 100644 (file)
@@ -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,