git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9613b
)
Docs: Change exit(1) -> exit(EXIT_FAILURE)
author
Richard Jones
<rjones@redhat.com>
Fri, 12 Mar 2010 16:23:14 +0000
(16:23 +0000)
committer
Richard Jones
<rjones@redhat.com>
Fri, 12 Mar 2010 16:23:14 +0000
(16:23 +0000)
src/guestfs.pod
patch
|
blob
|
history
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
2e608c6
..
d005257
100644
(file)
--- a/
src/guestfs.pod
+++ b/
src/guestfs.pod
@@
-807,7
+807,7
@@
need the compile time check as well):
dl = dlopen (NULL, RTLD_LAZY);
if (!dl) {
fprintf (stderr, "dlopen: %s\n", dlerror ());
- exit (
1
);
+ exit (
EXIT_FAILURE
);
}
has_function = dlsym (dl, "guestfs_dd") != NULL;
dlclose (dl);