From e2ea4b04bb982774170d4f57cad425e19dff2382 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 3 Sep 2006 06:25:19 +0000 Subject: [PATCH] avoid empty else statement --- sys/kern/subr_pool.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 6168529bde46..e03c38ad1321 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.121 2006/08/20 09:35:25 yamt Exp $ */ +/* $NetBSD: subr_pool.c,v 1.122 2006/09/03 06:25:19 christos Exp $ */ /*- * Copyright (c) 1997, 1999, 2000 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.121 2006/08/20 09:35:25 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.122 2006/09/03 06:25:19 christos Exp $"); #include "opt_pool.h" #include "opt_poollog.h" @@ -1786,8 +1786,9 @@ pool_print1(struct pool *pp, const char *modif, void (*pr)(const char *, ...)) (*pr)("\n"); if ((pp->pr_roflags & PR_LOGGING) == 0) (*pr)("\tno log\n"); - else + else { pr_printlog(pp, NULL, pr); + } skip_log: if (print_cache == 0)