diff options
author | alfred <alfred@FreeBSD.org> | 2002-11-09 20:13:16 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-11-09 20:13:16 +0000 |
commit | 6adba48a65757942ebebfa78d9d4db3d90795a4d (patch) | |
tree | 74ef237d8590ea5d1358759e0e039913d886c83c /sys/pci/viapm.c | |
parent | 3fdb507ce44244ad5222687f7c7faaabb0398cbe (diff) | |
download | FreeBSD-src-6adba48a65757942ebebfa78d9d4db3d90795a4d.zip FreeBSD-src-6adba48a65757942ebebfa78d9d4db3d90795a4d.tar.gz |
Fix an unparenthasized macro argument. md5s differ but this is likely
to order of operations that are actually fixed by the proper parenthasizing.
Diffstat (limited to 'sys/pci/viapm.c')
-rw-r--r-- | sys/pci/viapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c index d18f64d..faee3cd 100644 --- a/sys/pci/viapm.c +++ b/sys/pci/viapm.c @@ -69,7 +69,7 @@ static int viapm_debug = 0; #define VIAPM_INB(port) \ ((u_char)bus_space_read_1(viapm->st, viapm->sh, port)) #define VIAPM_OUTB(port,val) \ - (bus_space_write_1(viapm->st, viapm->sh, port, (u_char)val)) + (bus_space_write_1(viapm->st, viapm->sh, port, (u_char)(val))) #define VIAPM_TYP_UNKNOWN 0 #define VIAPM_TYP_586B_3040E 1 |