diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-03-30 14:23:55 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-03-30 16:48:31 -1000 |
commit | 5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77 (patch) | |
tree | e66bf4021e999c37c81218401a3696a1e77349be /loader/getparts.c | |
parent | b7bd1148c787ed047d46d3c091aae4cb4d210a86 (diff) | |
download | anaconda-5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77.tar.gz anaconda-5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77.tar.xz anaconda-5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77.zip |
Work around gcc bug #492973
Problem with -O2 and some string functions with the latest version of
gcc in rawhide. Work around the problem for now so we can compile,
ideally we can revert this patch in the future.
gcc bug:
https://bugzilla.redhat.com/show_bug.cgi?id=492973
Diffstat (limited to 'loader/getparts.c')
-rw-r--r-- | loader/getparts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/getparts.c b/loader/getparts.c index 8d2b7c4c6..69072291e 100644 --- a/loader/getparts.c +++ b/loader/getparts.c @@ -94,7 +94,7 @@ char **getPartitionsList(char * disk) { break; } else if (toknum == 2) { /* if size is exactly 1 then ignore it as an extended */ - if (!strcmp(b, "1")) + if (!(strcmp)(b, "1")) break; } else if (toknum == 3) { /* this should be the partition name */ |