summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/tgetpass.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-08-13 21:58:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-08-13 21:58:53 +0000
commit076394920371fce2e1a33f2150d5cb1594745fc6 (patch)
tree1a6d85b08702066bdea1ee15bd680c91bc8fbc1e /usr.bin/sudo/tgetpass.c
parentd9fbc819c4bc0822d9ce2d91af61eed69f7f0d02 (diff)
update to sudo 1.6.3p5
Diffstat (limited to 'usr.bin/sudo/tgetpass.c')
-rw-r--r--usr.bin/sudo/tgetpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/tgetpass.c b/usr.bin/sudo/tgetpass.c
index d8d2080d9ee..b1492aef922 100644
--- a/usr.bin/sudo/tgetpass.c
+++ b/usr.bin/sudo/tgetpass.c
@@ -128,7 +128,7 @@ tgetpass(prompt, timeout, flags)
}
if (prompt)
- (void) write(output, prompt, strlen(prompt) + 1);
+ (void) write(output, prompt, strlen(prompt));
/* Turn echo off/on as specified by flags. */
(void) term_getattr(input, &oterm);