[Sheepdog] [PATCH 2/5] const correctness: attr() 2nd parameter is really a const char * in all cases.

Steven Dake sdake at redhat.com
Mon May 17 22:56:39 CEST 2010


Signed-off-by: Steven Dake <sdake at redhat.com>
---
 sheep/store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sheep/store.c b/sheep/store.c
index 72cd287..9413eff 100644
--- a/sheep/store.c
+++ b/sheep/store.c
@@ -1597,7 +1597,7 @@ again:
 }
 
 
-static int attr(char *path, char *attr, void *var, int len, int set)
+static int attr(char *path, const char *attr, void *var, int len, int set)
 {
 	int ret, fd;
 
-- 
1.6.2.5




More information about the sheepdog mailing list