Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs Use correct printf() format for inode (fixes ...
details: https://anonhg.NetBSD.org/src/rev/f1262a9a4a8d
branches: trunk
changeset: 346800:f1262a9a4a8d
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Aug 03 23:28:01 2016 +0000
description:
Use correct printf() format for inode (fixes build for me)
diffstat:
sys/ufs/ext2fs/ext2fs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a6a079faa8f1 -r f1262a9a4a8d sys/ufs/ext2fs/ext2fs_vfsops.c
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c Wed Aug 03 21:53:02 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c Wed Aug 03 23:28:01 2016 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index