diff --git a/src/afs/HPUX/osi_vfsops.c b/src/afs/HPUX/osi_vfsops.c index 5d53926ba2..6383d5345c 100644 --- a/src/afs/HPUX/osi_vfsops.c +++ b/src/afs/HPUX/osi_vfsops.c @@ -166,7 +166,7 @@ afs_statfs(struct vfs *afsp, struct k_statvfs *abp) */ abp->f_blocks = abp->f_bfree = abp->f_bavail = abp->f_files = abp->f_ffree = abp->f_favail = AFS_VFS_FAKEFREE; - abp->f_fsid = (AFS_VFSMAGIC << 16) || AFS_VFSFSID; + abp->f_fsid = (AFS_VFSMAGIC << 16) | AFS_VFSFSID; AFS_GUNLOCK(); return 0; diff --git a/src/afs/SOLARIS/osi_vfsops.c b/src/afs/SOLARIS/osi_vfsops.c index 71002ec0c5..1f03b8f3d3 100644 --- a/src/afs/SOLARIS/osi_vfsops.c +++ b/src/afs/SOLARIS/osi_vfsops.c @@ -229,7 +229,7 @@ afs_statvfs(struct vfs *afsp, struct statvfs64 *abp) abp->f_bsize = afsp->vfs_bsize; abp->f_blocks = abp->f_bfree = abp->f_bavail = abp->f_files = abp->f_favail = abp->f_ffree = AFS_VFS_FAKEFREE; - abp->f_fsid = (AFS_VFSMAGIC << 16) || AFS_VFSFSID; + abp->f_fsid = (AFS_VFSMAGIC << 16) | AFS_VFSFSID; AFS_GUNLOCK(); return 0; diff --git a/src/afs/UKERNEL/osi_vfsops.c b/src/afs/UKERNEL/osi_vfsops.c index 2dfa201d05..38b1e72ec8 100644 --- a/src/afs/UKERNEL/osi_vfsops.c +++ b/src/afs/UKERNEL/osi_vfsops.c @@ -129,7 +129,7 @@ afs_statvfs(struct vfs *afsp, struct statvfs *abp) abp->f_fsid.val[0] = AFS_VFSMAGIC; abp->f_fsid.val[1] = AFS_VFSFSID; #else - abp->f_fsid = (AFS_VFSMAGIC << 16) || AFS_VFSFSID; + abp->f_fsid = (AFS_VFSMAGIC << 16) | AFS_VFSFSID; #endif return 0;