summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisksgilabel.c
diff options
context:
space:
mode:
authorPetr Uzel2012-07-24 13:52:32 +0200
committerKarel Zak2012-07-24 14:09:59 +0200
commit84edc8dde3ada052a6535e97a9f14bde3f0bc3a8 (patch)
tree0c71324737fa0745e49d07b5f4a2623d770bc8db /fdisks/fdisksgilabel.c
parentfdisk: fix compiler warning [-Werror=unused-variable] (diff)
downloadkernel-qcow2-util-linux-84edc8dde3ada052a6535e97a9f14bde3f0bc3a8.tar.gz
kernel-qcow2-util-linux-84edc8dde3ada052a6535e97a9f14bde3f0bc3a8.tar.xz
kernel-qcow2-util-linux-84edc8dde3ada052a6535e97a9f14bde3f0bc3a8.zip
fdisk: return success from sgi_create_disklabel
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Diffstat (limited to 'fdisks/fdisksgilabel.c')
-rw-r--r--fdisks/fdisksgilabel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fdisks/fdisksgilabel.c b/fdisks/fdisksgilabel.c
index af0ad149a..2596a21fa 100644
--- a/fdisks/fdisksgilabel.c
+++ b/fdisks/fdisksgilabel.c
@@ -840,6 +840,7 @@ static int sgi_create_disklabel(struct fdisk_context *cxt)
sgi_set_partition(cxt, i, old[i].start, old[i].nsect, old[i].sysid);
}
}
+ return 0;
}
void