From bbc00e975a8cc5813d9b9c86b19e215e30456c4e Mon Sep 17 00:00:00 2001 From: fvdl Date: Tue, 8 Apr 2003 14:46:21 +0000 Subject: [PATCH] Fix reverse test for UFS2 in the blks command. --- sbin/fsdb/fsdb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 10f5567a4189..a7a6f63f05f9 100644 --- a/sbin/fsdb/fsdb.c +++ b/sbin/fsdb/fsdb.c @@ -1,4 +1,4 @@ -/* $NetBSD: fsdb.c,v 1.23 2003/04/02 10:39:29 fvdl Exp $ */ +/* $NetBSD: fsdb.c,v 1.24 2003/04/08 14:46:21 fvdl Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: fsdb.c,v 1.23 2003/04/02 10:39:29 fvdl Exp $"); +__RCSID("$NetBSD: fsdb.c,v 1.24 2003/04/08 14:46:21 fvdl Exp $"); #endif /* not lint */ #include @@ -466,9 +466,9 @@ CMDFUNCSTART(blks) } printf("Direct blocks:\n"); if (is_ufs2) - print_blks32(curinode->dp1.di_db, NDADDR, &blkno); - else print_blks64(curinode->dp2.di_db, NDADDR, &blkno); + else + print_blks32(curinode->dp1.di_db, NDADDR, &blkno); if (is_ufs2) { for (i = 0; i < NIADDR; i++) {