diff options
Diffstat (limited to 'sys/fs/msdosfs')
-rw-r--r-- | sys/fs/msdosfs/denode.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |