qemud.c: fix error in yesterday's change: s/X_OK/R_OK/

* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
Daniel Berrange.
This commit is contained in:
Jim Meyering 2009-01-13 12:22:24 +00:00
parent 17bfd657b7
commit 37abbb387e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue Jan 13 13:21:13 +0100 2009 Jim Meyering <meyering@redhat.com>
qemud.c: fix error in yesterday's change: s/X_OK/R_OK/
* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
Daniel Berrange.
Tue Jan 13 11:44:32 +0100 2009 Jim Meyering <meyering@redhat.com>
* HACKING: Clarify "bool" vs. XDR/wire-format.

View File

@ -2371,7 +2371,7 @@ int main(int argc, char **argv) {
static const char *default_config_file
= SYSCONF_DIR "/libvirt/libvirtd.conf";
remote_config_file =
(access(default_config_file, X_OK) == 0
(access(default_config_file, R_OK) == 0
? default_config_file
: "/dev/null");
}