about summary refs log tree commit diff
path: root/misc/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getpass.c')
-rw-r--r--misc/getpass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/getpass.c b/misc/getpass.c
index 8c6cf568a5..7c4120a64c 100644
--- a/misc/getpass.c
+++ b/misc/getpass.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1992,93,94,95,96,97,98,99 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -41,8 +41,8 @@ getpass (prompt)
   FILE *in, *out;
   struct termios s, t;
   int tty_changed;
-  static char *buf = NULL;
-  static size_t bufsize = 0;
+  static char *buf;
+  static size_t bufsize;
   ssize_t nread;
 
   /* Try to write to and read from the terminal if we can.