summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/getsmbpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/getsmbpass.c b/source3/lib/getsmbpass.c
index c271d55404..b6ae09b318 100644
--- a/source3/lib/getsmbpass.c
+++ b/source3/lib/getsmbpass.c
@@ -83,7 +83,7 @@ static int tcsetattr(int fd, int flags, struct sgttyb *t)
static struct termios t;
#endif /* SYSV_TERMIO */
-char *getsmbpass(char *prompt)
+char *getsmbpass(const char *prompt)
{
FILE *in, *out;
int echo_off;