From 3f45792057cf4f7381e74bec6f437cdb290e1817 Mon Sep 17 00:00:00 2001 From: markm Date: Sat, 18 Oct 2003 10:04:16 +0000 Subject: ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. --- lib/libutil/login_class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libutil/login_class.c') diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c index b8eb79e..7b4fb00 100644 --- a/lib/libutil/login_class.c +++ b/lib/libutil/login_class.c @@ -217,7 +217,7 @@ setclassenvironment(login_cap_t *lc, const struct passwd * pwd, int paths) * which the admin and/or user may set an arbitrary set of env vars. */ if (!paths) { - char **set_env = login_getcaplist(lc, "setenv", ","); + const char **set_env = login_getcaplist(lc, "setenv", ","); if (set_env != NULL) { while (*set_env != NULL) { -- cgit v1.1