Mercurial > dropbear
diff svr-runopts.c @ 299:740e782679be ucc-axis-hack
Various changes to compile+kind of run on UCC's axis board.
Note that fprintf(stdin -> printf( accounts for many of the changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:57:09 +0000 |
parents | 306499676384 |
children | 973fccb59ea4 |
line wrap: on
line diff
--- a/svr-runopts.c Fri Dec 09 06:10:27 2005 +0000 +++ b/svr-runopts.c Sat Mar 25 12:57:09 2006 +0000 @@ -35,7 +35,7 @@ static void printhelp(const char * progname) { - fprintf(stderr, "Dropbear sshd v%s\n" + printf( "Dropbear sshd v%s\n" "Usage: %s [options]\n" "Options are:\n" "-b bannerfile Display the contents of bannerfile" @@ -208,7 +208,7 @@ break; #endif default: - fprintf(stderr, "Unknown argument %s\n", argv[i]); + printf( "Unknown argument %s\n", argv[i]); printhelp(argv[0]); exit(EXIT_FAILURE); break;