Module Name:    src
Committed By:   pgoyette
Date:           Sun May 14 05:38:38 UTC 2017

Modified Files:
        src/sys/dev [prg-localcount2]: md.c

Log Message:
Mark variable as __diagused to fix build-break


To generate a diff of this commit:
cvs rdiff -u -r1.78.6.4 -r1.78.6.5 src/sys/dev/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/md.c
diff -u src/sys/dev/md.c:1.78.6.4 src/sys/dev/md.c:1.78.6.5
--- src/sys/dev/md.c:1.78.6.4	Sat Apr 29 11:12:14 2017
+++ src/sys/dev/md.c	Sun May 14 05:38:38 2017
@@ -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 @@ mdsize(dev_t dev)
 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;

Reply via email to