summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrr <grr@openbsd.org>1997-06-20 10:33:37 +0000
committergrr <grr@openbsd.org>1997-06-20 10:33:37 +0000
commit2e4e3e703db14ef2fa89f18b96c82eada08191c2 (patch)
treef62d2e62ff07ec1a9fe5a4b5dfd2ff8d88b2f379
parentWall (diff)
downloadwireguard-openbsd-2e4e3e703db14ef2fa89f18b96c82eada08191c2.tar.xz
wireguard-openbsd-2e4e3e703db14ef2fa89f18b96c82eada08191c2.zip
Fixes OpenBSD PR kernel/230: system kernel sparc, submitted by
russ@madhaus.utcs.utoronto.ca (Russell P. Sutherland). Kernel compile errors when AUDIO_C_HANDLER is defined, due to a syntax error: *(foo->bar)++ is an odd bit of coding.
-rw-r--r--sys/arch/sparc/dev/amd7930.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/amd7930.c b/sys/arch/sparc/dev/amd7930.c
index a059d98c1a7..af487003a39 100644
--- a/sys/arch/sparc/dev/amd7930.c
+++ b/sys/arch/sparc/dev/amd7930.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd7930.c,v 1.6 1996/08/12 02:10:35 downsj Exp $ */
+/* $OpenBSD: amd7930.c,v 1.7 1997/06/20 10:33:37 grr Exp $ */
/* $NetBSD: amd7930.c,v 1.10 1996/03/31 22:38:29 pk Exp $ */
/*
@@ -916,7 +916,7 @@ amd7930hwintr(au0)
}
}
- *(au->au_intrcnt)++;
+ (*au->au_intrcnt)++;
return (1);
}
#endif /* AUDIO_C_HANDLER */