diff --git a/src/sigar.c b/src/sigar.c index 4101576a..349e07a9 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -767,7 +767,15 @@ struct utmp { long ut_addr; }; #elif defined(NETWARE) -/*XXX*/ +static char *getpass(const char *prompt) +{ + static char password[BUFSIZ]; + + fputs(prompt, stderr); + fgets((char *)&password, sizeof(password), stdin); + + return (char *)&password; +} #else # include # ifdef UTMP_FILE