summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-21 16:13:07 +1000
committerDamien Miller <djm@mindrot.org>2000-04-21 16:13:07 +1000
commit06d84b78e90d89f1c658470d467c14b86727db61 (patch)
tree04e689ef4a9b2b2d7433adba587f0bea223e313e
parenta552faf5646498c12acfd752394e289e4f9a226d (diff)
- Define __progname in session.c if libc doesn't
-rw-r--r--session.c5
1 files changed, 5 insertions, 0 deletions
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,
65 65
66/* import */ 66/* import */
67extern ServerOptions options; 67extern ServerOptions options;
68#ifdef HAVE___PROGNAME
68extern char *__progname; 69extern char *__progname;
70#else /* HAVE___PROGNAME */
71const char *__progname = "sshd";
72#endif /* HAVE___PROGNAME */
73
69extern int log_stderr; 74extern int log_stderr;
70extern int debug_flag; 75extern int debug_flag;
71 76