From 533541c47bc98b118c55a2c646188e129abde3b8 Mon Sep 17 00:00:00 2001 From: alfred Date: Sat, 9 Nov 2002 12:55:07 +0000 Subject: Fix instances of macros with improperly parenthasized arguments. Verified by: md5 --- sys/fs/msdosfs/denode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs/msdosfs') diff --git a/sys/fs/msdosfs/denode.h b/sys/fs/msdosfs/denode.h index f491a43..f6faeec 100644 --- a/sys/fs/msdosfs/denode.h +++ b/sys/fs/msdosfs/denode.h @@ -127,8 +127,8 @@ struct fatcache { * Set a slot in the fat cache. */ #define fc_setcache(dep, slot, frcn, fsrcn) \ - (dep)->de_fc[slot].fc_frcn = frcn; \ - (dep)->de_fc[slot].fc_fsrcn = fsrcn; + (dep)->de_fc[(slot)].fc_frcn = (frcn); \ + (dep)->de_fc[(slot)].fc_fsrcn = (fsrcn); /* * This is the in memory variant of a dos directory entry. It is usually -- cgit v1.1