diff options
author | Damien Miller <djm@mindrot.org> | 2001-01-17 11:10:48 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-01-17 11:10:48 +1100 |
commit | 92e78f8c6424f0d466e1df673228870ef009105b (patch) | |
tree | 1809206c2385b1a49b459a80dba363a352effaa2 /cli.c | |
parent | a64b57a157068c793ac7be2ad276b208a7d10a90 (diff) |
- (djm) Avoid warning in PAM code by making read_passphrase arguments const
Diffstat (limited to 'cli.c')
-rw-r--r-- | cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -129,7 +129,7 @@ cli_read(char* buf, int size, int echo) } static int -cli_write(char* buf, int size) +cli_write(const char* buf, int size) { int i, len, pos, ret = 0; char *output, *p; @@ -161,7 +161,7 @@ cli_write(char* buf, int size) * buffer is storing the response. */ char* -cli_read_passphrase(char* prompt, int from_stdin, int echo_enable) +cli_read_passphrase(const char* prompt, int from_stdin, int echo_enable) { char buf[BUFSIZ]; char* p; |