patch-2.1.48 linux/fs/ufs/ufs_namei.c

Next file: linux/fs/vfat/namei.c
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.47/linux/fs/ufs/ufs_namei.c linux/fs/ufs/ufs_namei.c
@@ -6,7 +6,7 @@
  * Laboratory for Computer Science Research Computing Facility
  * Rutgers, The State University of New Jersey
  *
- * $Id: ufs_namei.c,v 1.8 1997/07/17 02:24:14 davem Exp $
+ * $Id: ufs_namei.c,v 1.9 1997/07/22 06:40:12 davem Exp $
  *
  */
 
@@ -131,8 +131,11 @@
 	                        break;
 	                }
 	                if (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) {
-	                        printk("lfragno 0x%lx  direct d 0x%x  d_ino %u  d_reclen %u  d_namlen %u  d_name `%s'\n",
-	                               lfragno, (unsigned int)d, ufs_swab32(d->d_ino), ufs_swab16(d->d_reclen), ufs_swab16(d->d_namlen), d->d_name);
+	                        printk("lfragno 0x%lx  direct d 0x%x  d_ino %u  "
+				       "d_reclen %u  d_namlen %u  d_name `%s'\n",
+	                               lfragno, (unsigned int)((unsigned long)d),
+				       ufs_swab32(d->d_ino), ufs_swab16(d->d_reclen),
+				       ufs_swab16(d->d_namlen), d->d_name);
 	                }
 	                if ((ufs_swab16(d->d_namlen) == len) &&
 	                    /* XXX - don't use strncmp() - see ext2fs */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov