Module Name:    src
Committed By:   pgoyette
Date:           Wed Aug  3 23:28:01 UTC 2016

Modified Files:
        src/sys/ufs/ext2fs: ext2fs_vfsops.c

Log Message:
Use correct printf() format for inode (fixes build for me)


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/ufs/ext2fs/ext2fs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/ext2fs/ext2fs_vfsops.c
diff -u src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.194 src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.195
--- src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.194	Wed Aug  3 21:53:02 2016
+++ src/sys/ufs/ext2fs/ext2fs_vfsops.c	Wed Aug  3 23:28:01 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ext2fs_vfsops.c,v 1.194 2016/08/03 21:53:02 jdolecek Exp $	*/
+/*	$NetBSD: ext2fs_vfsops.c,v 1.195 2016/08/03 23:28:01 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1994
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.194 2016/08/03 21:53:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.195 2016/08/03 23:28:01 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -510,7 +510,7 @@ ext2fs_loadvnode_content(struct m_ext2fs
 	if (EXT2_DINODE_FITS(din, e2di_extra_isize, EXT2_DINODE_SIZE(fs))
 	    && (EXT2_DINODE_SIZE(fs) - EXT2_REV0_DINODE_SIZE) < din->e2di_extra_isize)
 	{
-		printf("ext2fs: inode %llu bad extra_isize %u",
+		printf("ext2fs: inode %"PRId64" bad extra_isize %u",
 			ino, din->e2di_extra_isize);
 		error = EINVAL;
 		goto bad;

Reply via email to