summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 0a2b86ab57..6af82f24e5 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1380,7 +1380,7 @@ char *gidtoname(gid_t gid)
Convert a user name into a uid.
********************************************************************/
-uid_t nametouid(char *name)
+uid_t nametouid(const char *name)
{
struct passwd *pass;
char *p;