diff options
author | grr <grr@cvs.openbsd.org> | 1997-06-20 10:33:38 +0000 |
---|---|---|
committer | grr <grr@cvs.openbsd.org> | 1997-06-20 10:33:38 +0000 |
commit | a4bb0be2e1eb86a087905b9e330bcee8743c1de0 (patch) | |
tree | 50d80a86da38971bcfe78536674364c2ee9aaff7 | |
parent | a723c7c7189faffefdb93f75ac7caea00334852e (diff) |
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.c | 4 |
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 */ |