aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2020-12-01 23:58:21 +0100
committerGilles Chehade <gilles@poolp.org>2020-12-01 23:58:21 +0100
commitde08d76923fdb779c53c01191a4ab3ac18e33024 (patch)
tree110de1be4e0ba7786e99f8f8819f2b60925c3e67
parentMerge branch 'master' of ssh://github.com/OpenSMTPD/OpenSMTPD into master (diff)
downloadOpenSMTPD-de08d76923fdb779c53c01191a4ab3ac18e33024.tar.xz
OpenSMTPD-de08d76923fdb779c53c01191a4ab3ac18e33024.zip
proper get_progname use in smtpctl
-rw-r--r--usr.sbin/smtpd/smtpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index b255ed3d..1cc37994 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1066,8 +1066,8 @@ main(int argc, char **argv)
int privileged;
char *argv_mailq[] = { "show", "queue", NULL };
-#ifndef HAVE___PROGNAME
- __progname = ssh_get_progname(argv[0]);
+#ifdef NEED_PROGNAME
+ __progname = get_progname(argv[0]);
#endif
/* check that smtpctl was installed setgid */