Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/sys/dev Mark variable as __diagused to fix build-b...
details: https://anonhg.NetBSD.org/src/rev/3247e9928361
branches: prg-localcount2
changeset: 823542:3247e9928361
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun May 14 05:38:38 2017 +0000
description:
Mark variable as __diagused to fix build-break
diffstat:
sys/dev/md.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ce2477e32341 -r 3247e9928361 sys/dev/md.c
--- a/sys/dev/md.c Sun May 14 05:33:41 2017 +0000
+++ b/sys/dev/md.c Sun May 14 05:38:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.78.6.4 2017/04/29 11:12:14 pgoyette Exp $ */
+/* $NetBSD: md.c,v 1.78.6.5 2017/05/14 05:38:38 pgoyette Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.78.6.4 2017/04/29 11:12:14 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.78.6.5 2017/05/14 05:38:38 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_md.h"
@@ -261,7 +261,8 @@
static int
mdopen(dev_t dev, int flag, int fmt, struct lwp *l)
{
- device_t self, new_self;
+ device_t self;
+ device_t new_self __diagused;
int unit;
int part = DISKPART(dev);
int pmask = 1 << part;
Home |
Main Index |
Thread Index |
Old Index