summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-07-10 14:12:37 +0000
committerVolker Lendecke <vlendec@samba.org>2003-07-10 14:12:37 +0000
commit0b07d432cc2894144a0641c898df9cac7281e352 (patch)
treedab32423806706202921db448a2c520604393df4
parent62c48a7dbb1161bd074c05afbe2a5260405cd87a (diff)
downloadsamba-0b07d432cc2894144a0641c898df9cac7281e352.tar.gz
samba-0b07d432cc2894144a0641c898df9cac7281e352.tar.bz2
samba-0b07d432cc2894144a0641c898df9cac7281e352.zip
Add const
(This used to be commit 2f7658d9ba1f43fb2d14adc4af7b681634ab5cb2)
-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;