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 /isys | |
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 'isys')
-rw-r--r-- | isys/eddsupport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/eddsupport.c b/isys/eddsupport.c index ae974c565..242021a2e 100644 --- a/isys/eddsupport.c +++ b/isys/eddsupport.c @@ -168,7 +168,7 @@ static int mapBiosDisks(struct device** devices,const char *path) { } while ((entry = readdir(dirHandle)) != NULL) { - if(!strncmp(entry->d_name,".",1) || !strncmp(entry->d_name,"..",2)) { + if(!(strncmp)(entry->d_name,".",1) || !(strncmp)(entry->d_name,"..",2)) { continue; } ret = sscanf((entry->d_name+9), "%x", &biosNum); |