summaryrefslogtreecommitdiff
path: root/build/names.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/names.c')
-rw-r--r--build/names.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/names.c b/build/names.c
index 22e1ddeab..b30d8a770 100644
--- a/build/names.c
+++ b/build/names.c
@@ -48,7 +48,7 @@ char *getUname(uid_t uid)
* getUnameS() takes a username, gets the uid, and creates an entry in the
* table to hold a string containing the user name.
*/
-char *getUnameS(char *uname)
+char *getUnameS(const char *uname)
{
struct passwd *pw;
int x;
@@ -113,7 +113,7 @@ char *getGname(gid_t gid)
* getGnameS() takes a group name, gets the gid, and creates an entry in the
* table to hold a string containing the group name.
*/
-char *getGnameS(char *gname)
+char *getGnameS(const char *gname)
{
struct group *gr;
int x;