diff cli-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
line wrap: on
line diff
--- a/cli-runopts.c	Fri Dec 09 06:10:27 2005 +0000
+++ b/cli-runopts.c	Sat Mar 25 12:57:09 2006 +0000
@@ -43,7 +43,7 @@
 
 static void printhelp() {
 
-	fprintf(stderr, "Dropbear client v%s\n"
+	printf( "Dropbear client v%s\n"
 					"Usage: %s [options] [user@]host\n"
 					"Options are:\n"
 					"-p <remoteport>\n"
@@ -203,7 +203,7 @@
 				case 'b':
 					next = &dummy;
 				default:
-					fprintf(stderr, 
+					printf( 
 						"WARNING: Ignoring unknown argument '%s'\n", argv[i]);
 					break;
 			} /* Switch */
@@ -282,7 +282,7 @@
 	keytype = DROPBEAR_SIGNKEY_ANY;
 	if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) {
 
-		fprintf(stderr, "Failed loading keyfile '%s'\n", filename);
+		printf( "Failed loading keyfile '%s'\n", filename);
 		sign_key_free(key);
 
 	} else {