patch-2.4.22 linux-2.4.22/arch/ppc/kernel/find_name.c

Next file: linux-2.4.22/arch/ppc/kernel/gen550_dbg.c
Previous file: linux-2.4.22/arch/ppc/kernel/entry.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/ppc/kernel/find_name.c linux-2.4.22/arch/ppc/kernel/find_name.c
@@ -12,7 +12,7 @@
 	unsigned long addr, cmp, i;
 	FILE *f;
 	char s[256], last[256];
-	
+
 	if ( argc < 2 )
 	{
 		fprintf(stderr, "Usage: %s <address>\n", argv[0]);
@@ -25,13 +25,13 @@
 		/* adjust if addr is relative to kernelbase */
 		if ( addr < PAGE_OFFSET )
 			addr += PAGE_OFFSET;
-		
+
 		if ( (f = fopen( "System.map", "r" )) == NULL )
 		{
 			perror("fopen()\n");
 			exit(-1);
 		}
-		
+
 		while ( !feof(f) )
 		{
 			fgets(s, 255 , f);
@@ -40,9 +40,9 @@
 				break;
 			strcpy( last, s);
 		}
-		
+
 		printf( "%s%s", last, s );
-	}		
+	}
 	fclose(f);
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)