From: Damien Miller Date: Fri, 21 Apr 2000 06:13:07 +0000 (+1000) Subject: - Define __progname in session.c if libc doesn't X-Git-Tag: V_2_0_0_TEST1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06d84b78e90d89f1c658470d467c14b86727db61;p=thirdparty%2Fopenssh-portable.git - Define __progname in session.c if libc doesn't --- diff --git a/session.c b/session.c index 840a4e9e8..68a016e0b 100644 --- a/session.c +++ b/session.c @@ -65,7 +65,12 @@ do_child(const char *command, struct passwd * pw, const char *term, /* import */ extern ServerOptions options; +#ifdef HAVE___PROGNAME extern char *__progname; +#else /* HAVE___PROGNAME */ +const char *__progname = "sshd"; +#endif /* HAVE___PROGNAME */ + extern int log_stderr; extern int debug_flag;