From b6a0c8565cdf27e6d4fdf7adb1a66b30d45d5b92 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 26 Mar 2010 20:01:45 +0000 Subject: [PATCH] Const-correctness fix. --- daemon/guestfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 1.8.3.1