summaryrefslogtreecommitdiff
path: root/readpass.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-01-17 11:10:48 +1100
committerDamien Miller <djm@mindrot.org>2001-01-17 11:10:48 +1100
commit92e78f8c6424f0d466e1df673228870ef009105b (patch)
tree1809206c2385b1a49b459a80dba363a352effaa2 /readpass.c
parenta64b57a157068c793ac7be2ad276b208a7d10a90 (diff)
- (djm) Avoid warning in PAM code by making read_passphrase arguments const
Diffstat (limited to 'readpass.c')
-rw-r--r--readpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readpass.c b/readpass.c
index f3a7dcbe..64281edd 100644
--- a/readpass.c
+++ b/readpass.c
@@ -49,7 +49,7 @@ RCSID("$OpenBSD: readpass.c,v 1.12 2000/10/11 20:14:39 markus Exp $");
* compatibility with existing code.
*/
char *
-read_passphrase(char *prompt, int from_stdin)
+read_passphrase(const char *prompt, int from_stdin)
{
return cli_read_passphrase(prompt, from_stdin, 0);
}