diff options
| author | Karel Zak <kzak@redhat.com> | 2014-11-26 17:33:07 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2014-11-26 17:33:07 +0100 |
| commit | a1ef792fda428eff141d4c844942c09f69e67088 (patch) | |
| tree | 44481c894ce3e4b57d895babd1656f992d9ab981 /disk-utils/sfdisk.c | |
| parent | 5bc118c3c2f72c64fecf7f850abb0d8f2fab2633 (diff) | |
| download | util-linux-a1ef792fda428eff141d4c844942c09f69e67088.tar.gz | |
libfdisk: rename and move function
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.c')
| -rw-r--r-- | disk-utils/sfdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index b22ee40ae7..cff8664f50 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -578,14 +578,14 @@ static int command_activate(struct sfdisk *sf, int argc, char **argv) /* deactivate all active partitions */ } else if (fdisk_partition_is_bootable(pa)) - fdisk_partition_toggle_flag(sf->cxt, i, DOS_FLAG_ACTIVE); + fdisk_toggle_partition_flag(sf->cxt, i, DOS_FLAG_ACTIVE); } /* sfdisk --activate <partno> [..] */ for (i = 1; i < argc; i++) { int n = strtou32_or_err(argv[i], _("failed to parse partition number")); - rc = fdisk_partition_toggle_flag(sf->cxt, n - 1, DOS_FLAG_ACTIVE); + rc = fdisk_toggle_partition_flag(sf->cxt, n - 1, DOS_FLAG_ACTIVE); if (rc) errx(EXIT_FAILURE, _("%s: partition %d: failed to toggle bootable flag"), |
