diff options
Diffstat (limited to 'arch/ppc/kernel/find_name.c')
-rw-r--r-- | arch/ppc/kernel/find_name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/kernel/find_name.c b/arch/ppc/kernel/find_name.c index d5d88bff7..3c0fa8e0c 100644 --- a/arch/ppc/kernel/find_name.c +++ b/arch/ppc/kernel/find_name.c @@ -16,7 +16,7 @@ int main(int argc, char **argv) if ( argc < 2 ) { fprintf(stderr, "Usage: %s <address>\n", argv[0]); - exit(-1); + return -1; } for ( i = 1 ; argv[i] ; i++ ) @@ -41,7 +41,7 @@ int main(int argc, char **argv) strcpy( last, s); } - printf( "%s", last); + printf( "%s%s", last, s ); } fclose(f); return 0; |