X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/2b87da3b1fb7c5ca907cb65aa048fada4ad29803..bad23583e682a85d464557bb4f3f039489581fbc:/logintest.c?ds=sidebyside diff --git a/logintest.c b/logintest.c index 0cd3a276..7e9fbbfb 100644 --- a/logintest.c +++ b/logintest.c @@ -9,11 +9,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Markus Friedl. - * 4. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -36,6 +31,10 @@ #include #include +#include + +#include + #include #include #include @@ -48,8 +47,7 @@ #include "loginrec.h" -RCSID("$Id$"); - +extern char *__progname; #define PAUSE_BEFORE_LOGOUT 3 @@ -287,6 +285,7 @@ main(int argc, char *argv[]) { printf("Platform-independent login recording test driver\n"); + __progname = ssh_get_progname(argv[0]); if (argc == 2) { if (strncmp(argv[1], "-i", 3) == 0) compile_opts_only = 1;