summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-02 07:11:37 +0000
committerPeter Jones <pjones@redhat.com>2005-03-02 07:11:37 +0000
commit5e6fd9b29ff496332076e2ed2cafe7058408e765 (patch)
treed9da2519a75290ea13d42b229bf57fe661434eb5 /loader2
parent01dafd849f6016508574a7d41a35023b76dc4e9b (diff)
downloadanaconda-5e6fd9b29ff496332076e2ed2cafe7058408e765.tar.gz
anaconda-5e6fd9b29ff496332076e2ed2cafe7058408e765.tar.xz
anaconda-5e6fd9b29ff496332076e2ed2cafe7058408e765.zip
wrong type for retval from fgets()
Diffstat (limited to 'loader2')
-rw-r--r--loader2/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index 53bf97801..266b77c0c 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -1582,7 +1582,7 @@ int main(int argc, char ** argv) {
pid = 1;
} else {
char * buf = malloc(256);
- int ret;
+ char *ret;
ret = fgets(buf, 256, f);
pid = atoi(buf);