git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ./configure --with-drive-if=(ide|scsi|virtio)
[libguestfs.git]
/
daemon
/
initrd.c
diff --git
a/daemon/initrd.c
b/daemon/initrd.c
index
513ed8d
..
2d6cbdd
100644
(file)
--- a/
daemon/initrd.c
+++ b/
daemon/initrd.c
@@
-78,7
+78,7
@@
do_initrd_list (char *path)
return NULL;
}
- if (pclose (fp)
== -1
) {
+ if (pclose (fp)
!= 0
) {
reply_with_perror ("pclose");
free_strings (filenames);
return NULL;