Module Name: src Committed By: pgoyette Date: Thu Jan 25 22:37:42 UTC 2018
Modified Files: src/sys/arch/x86/pci: amdzentemp.c Log Message: Correct placement of __diagused attribute To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/pci/amdzentemp.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/arch/x86/pci/amdzentemp.c diff -u src/sys/arch/x86/pci/amdzentemp.c:1.4 src/sys/arch/x86/pci/amdzentemp.c:1.5 --- src/sys/arch/x86/pci/amdzentemp.c:1.4 Thu Jan 25 22:14:01 2018 +++ src/sys/arch/x86/pci/amdzentemp.c Thu Jan 25 22:37:42 2018 @@ -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 @@ CFATTACH_DECL_NEW(amdzentemp, sizeof(str 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);