Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Fix !DIAGNOSTIC compile
details: https://anonhg.NetBSD.org/src/rev/e88303fe6c86
branches: trunk
changeset: 745155:e88303fe6c86
user: ad <ad%NetBSD.org@localhost>
date: Sun Feb 23 15:09:55 2020 +0000
description:
Fix !DIAGNOSTIC compile
diffstat:
sys/ufs/lfs/lfs_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2571382912ae -r e88303fe6c86 sys/ufs/lfs/lfs_subr.c
--- a/sys/ufs/lfs/lfs_subr.c Sun Feb 23 14:44:23 2020 +0000
+++ b/sys/ufs/lfs/lfs_subr.c Sun Feb 23 15:09:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_subr.c,v 1.100 2020/02/23 08:42:53 riastradh Exp $ */
+/* $NetBSD: lfs_subr.c,v 1.101 2020/02/23 15:09:55 ad Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.100 2020/02/23 08:42:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.101 2020/02/23 15:09:55 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -574,7 +574,7 @@
void
lfs_writer_enter(struct lfs *fs, const char *wmesg)
{
- int error;
+ int error __diagused;
ASSERT_NO_SEGLOCK(fs);
mutex_enter(&lfs_lock);
Home |
Main Index |
Thread Index |
Old Index