summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/script.c
diff options
context:
space:
mode:
authorKarel Zak2017-07-10 12:32:26 +0200
committerKarel Zak2017-07-10 12:32:26 +0200
commit2469ba36774f1cc982fe3bace2e8c21aa26701d6 (patch)
treef6983c866efa43fc37d01ff6e38e8e2f38380ee2 /libfdisk/src/script.c
parentagetty: print /etc/issue on --skip-login (diff)
downloadkernel-qcow2-util-linux-2469ba36774f1cc982fe3bace2e8c21aa26701d6.tar.gz
kernel-qcow2-util-linux-2469ba36774f1cc982fe3bace2e8c21aa26701d6.tar.xz
kernel-qcow2-util-linux-2469ba36774f1cc982fe3bace2e8c21aa26701d6.zip
libfdisk: add fdisk_reassign_device()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/script.c')
-rw-r--r--libfdisk/src/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdisk/src/script.c b/libfdisk/src/script.c
index be325bc09..b0ac8b245 100644
--- a/libfdisk/src/script.c
+++ b/libfdisk/src/script.c
@@ -1373,6 +1373,7 @@ struct fdisk_script *fdisk_get_script(struct fdisk_context *cxt)
* @dp: script
*
* Associate context @cxt with script @dp and creates a new empty disklabel.
+ * The script may be later unreference by fdisk_set_script() with NULL as script.
*
* Returns: 0 on success, <0 on error.
*/