patch-2.4.21 linux-2.4.21/fs/jfs/jfs_unicode.c

Next file: linux-2.4.21/fs/jfs/jfs_xtree.c
Previous file: linux-2.4.21/fs/jfs/jfs_umount.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/jfs/jfs_unicode.c linux-2.4.21/fs/jfs/jfs_unicode.c
@@ -47,7 +47,6 @@
 		}
 	}
 	to[outlen] = 0;
-	jEVENT(0, ("jfs_strfromUCS returning %d - '%s'\n", outlen, to));
 	return outlen;
 }
 
@@ -63,22 +62,17 @@
 	int charlen;
 	int i;
 
-	jEVENT(0, ("jfs_strtoUCS - '%s'\n", from));
-
 	for (i = 0; len && *from; i++, from += charlen, len -= charlen) {
 		charlen = codepage->char2uni(from, len, &to[i]);
 		if (charlen < 1) {
-			jERROR(1, ("jfs_strtoUCS: char2uni returned %d.\n",
-				   charlen));
-			jERROR(1, ("charset = %s, char = 0x%x\n",
-				   codepage->charset, (unsigned char) *from));
+			jfs_err("jfs_strtoUCS: char2uni returned %d.", charlen);
+			jfs_err("charset = %s, char = 0x%x",
+				codepage->charset, (unsigned char) *from);
 			to[i] = 0x003f;	/* a question mark */
 			charlen = 1;
 		}
 	}
 
-	jEVENT(0, (" returning %d\n", i));
-
 	to[i] = 0;
 	return i;
 }

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