JFS: [5 of 6] simplify jfs_err() to avoid parsing bug in gcc-2.95

Dave Kleikamp <[email protected]> Wed, 26 Feb 2003 11:28:32 -0600
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.967.4.1 -> 1.967.4.2
#	  fs/jfs/jfs_debug.h	1.4     -> 1.5    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/02/12	[email protected]	1.967.4.2
# JFS: simplify jfs_err() to avoid parsing bug in gcc-2.95
# --------------------------------------------
#
diff -Nru a/fs/jfs/jfs_debug.h b/fs/jfs/jfs_debug.h
--- a/fs/jfs/jfs_debug.h	Wed Feb 26 11:11:05 2003
+++ b/fs/jfs/jfs_debug.h	Wed Feb 26 11:11:05 2003
@@ -89,8 +89,7 @@
 /* error event message: e.g., i/o error */
 #define jfs_err(fmt, arg...) do {			\
 	if (jfsloglevel >= JFS_LOGLEVEL_ERR)		\
-		printk(KERN_ERR "%s:%d " fmt "\n",	\
-		       __FILE__, __LINE__, ## arg);	\
+		printk(KERN_ERR fmt "\n", ## arg);	\
 } while (0)
 
 /*