From: Jim Meyering Date: Fri, 26 Mar 2010 20:01:45 +0000 (+0000) Subject: Const-correctness fix. X-Git-Tag: 1.0.88~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b6a0c8565cdf27e6d4fdf7adb1a66b30d45d5b92;p=libguestfs.git Const-correctness fix. --- diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 84b62ab..1518438 100644 --- 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];