summaryrefslogtreecommitdiff
path: root/plugins/sudoers/auth/sudo_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/auth/sudo_auth.h')
-rw-r--r--plugins/sudoers/auth/sudo_auth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sudoers/auth/sudo_auth.h b/plugins/sudoers/auth/sudo_auth.h
index d8780c496..de41e6fdc 100644
--- a/plugins/sudoers/auth/sudo_auth.h
+++ b/plugins/sudoers/auth/sudo_auth.h
@@ -29,7 +29,7 @@
typedef struct sudo_auth {
int flags; /* various flags, see below */
int status; /* status from verify routine */
- char *name; /* name of the method as a string */
+ const char *name; /* name of the method as a string */
void *data; /* method-specific data pointer */
int (*init)(struct passwd *pw, struct sudo_auth *auth);
int (*setup)(struct passwd *pw, char **prompt, struct sudo_auth *auth);