Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs print mode as octal for readability
details: https://anonhg.NetBSD.org/src/rev/27bbf5f6a2f9
branches: trunk
changeset: 826196:27bbf5f6a2f9
user: maya <maya%NetBSD.org@localhost>
date: Sun Aug 20 12:51:38 2017 +0000
description:
print mode as octal for readability
diffstat:
sys/ufs/ffs/ffs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b4d0fbf8cf2 -r 27bbf5f6a2f9 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c Sun Aug 20 12:09:06 2017 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c Sun Aug 20 12:51:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_vfsops.c,v 1.353 2017/04/17 08:32:01 hannken Exp $ */
+/* $NetBSD: ffs_vfsops.c,v 1.354 2017/08/20 12:51:38 maya Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.353 2017/04/17 08:32:01 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.354 2017/08/20 12:51:38 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -2132,7 +2132,7 @@
ip = VTOI(vp);
if (ip->i_mode) {
- panic("%s: dup alloc ino=%" PRId64 " on %s: mode %x/%x "
+ panic("%s: dup alloc ino=%" PRId64 " on %s: mode %o/%o "
"gen %x/%x size %" PRIx64 " blocks %" PRIx64,
__func__, ino, fs->fs_fsmnt, DIP(ip, mode), ip->i_mode,
DIP(ip, gen), ip->i_gen, DIP(ip, size), DIP(ip, blocks));
Home |
Main Index |
Thread Index |
Old Index