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:
9e0b31a
)
Const-correctness fix.
author
Jim Meyering
<jim@meyering.net>
Fri, 26 Mar 2010 20:01:45 +0000
(20:01 +0000)
committer
Richard Jones
<rjones@redhat.com>
Fri, 26 Mar 2010 20:01:45 +0000
(20:01 +0000)
daemon/guestfsd.c
patch
|
blob
|
history
diff --git
a/daemon/guestfsd.c
b/daemon/guestfsd.c
index
84b62ab
..
1518438
100644
(file)
--- a/
daemon/guestfsd.c
+++ b/
daemon/guestfsd.c
@@
-1065,7
+1065,7
@@
device_name_translation (char *device, const char *func)
int
prog_exists (const char *prog)
{
- static const char *dirs[] =
+ static const char *
const
dirs[] =
{ "/sbin", "/usr/sbin", "/bin", "/usr/bin" };
size_t i;
char buf[1024];