diff options
author | Karel Zak <kzak@redhat.com> | 2015-02-06 10:24:18 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2015-02-06 10:24:18 +0100 |
commit | c603d076f89e02002ee1b025a739a2777edfa783 (patch) | |
tree | 155c0945993bfc8f7e0e9679962a2e3ee3124547 | |
parent | 3565bd7aec78894eaf4aee7dd5602f29154ebf5a (diff) | |
download | util-linux-playground-c603d076f89e02002ee1b025a739a2777edfa783.tar.gz |
libfdisk: make code more readable
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | libfdisk/src/dos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index 08533bbe48..de54bea123 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1585,7 +1585,7 @@ static int dos_add_partition(struct fdisk_context *cxt, const char *msg; if (!free_primary) msg = _("All primary partitions are in use."); - else if (!free_sectors) + else msg = _("All space for primary partitions is in use."); if (pa && fdisk_partition_has_start(pa)) { |