Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci Correct placement of __diagused attribute
details: https://anonhg.NetBSD.org/src/rev/647c020d4cf3
branches: trunk
changeset: 359023:647c020d4cf3
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jan 25 22:37:42 2018 +0000
description:
Correct placement of __diagused attribute
diffstat:
sys/arch/x86/pci/amdzentemp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 799a43ed70d6 -r 647c020d4cf3 sys/arch/x86/pci/amdzentemp.c
--- a/sys/arch/x86/pci/amdzentemp.c Thu Jan 25 22:14:01 2018 +0000
+++ b/sys/arch/x86/pci/amdzentemp.c Thu Jan 25 22:37:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdzentemp.c,v 1.4 2018/01/25 22:14:01 pgoyette Exp $ */
+/* $NetBSD: amdzentemp.c,v 1.5 2018/01/25 22:37:42 pgoyette Exp $ */
/* $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $ */
/*
@@ -50,7 +50,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.4 2018/01/25 22:14:01 pgoyette Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.5 2018/01/25 22:37:42 pgoyette Exp $ ");
#include <sys/param.h>
#include <sys/bus.h>
@@ -98,7 +98,7 @@
static int
amdzentemp_match(device_t parent, cfdata_t match, void *aux)
{
- struct pci_attach_args *pa = aux __diagused;
+ struct pci_attach_args *pa __diagused = aux;
KASSERT(PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD);
Home |
Main Index |
Thread Index |
Old Index