diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-02 01:25:20 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-02 01:25:20 +0000 |
commit | 10252ae38cb65707187b58266497f30ca3cc3e45 (patch) | |
tree | fafe10155e75fd5e3df72ca21f060de29e0dc08c /loader2/method.c | |
parent | 0357ddd20316fd689b37227756c461dd31851684 (diff) | |
download | anaconda-10252ae38cb65707187b58266497f30ca3cc3e45.tar.gz anaconda-10252ae38cb65707187b58266497f30ca3cc3e45.tar.xz anaconda-10252ae38cb65707187b58266497f30ca3cc3e45.zip |
Oops, fgets needs a char * to return into
Diffstat (limited to 'loader2/method.c')
-rw-r--r-- | loader2/method.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/loader2/method.c b/loader2/method.c index 33bbeb628..3f0c1aa0f 100644 --- a/loader2/method.c +++ b/loader2/method.c @@ -537,8 +537,8 @@ int verifyStamp(char * path) { char *stamp1; char *stamp2; FILE *f; - int fail = 0, ret; - char * p; + int fail = 0; + char * p, *q; stamp1 = alloca(13); stamp2 = alloca(13); @@ -548,7 +548,7 @@ int verifyStamp(char * path) { if (!f) { fail = 1; } else { - ret = fgets(stamp1, 13, f); + q = fgets(stamp1, 13, f); fclose(f); /* and the runtime */ @@ -558,7 +558,7 @@ int verifyStamp(char * path) { if (!f) { fail = 1; } else { - ret = fgets(stamp2, 13, f); + q = fgets(stamp2, 13, f); fclose(f); if (strncmp(stamp1, stamp2, 12) != 0) { |