summarylogtreecommitdiffstats
path: root/psmisc-fuser.patch
blob: b7645f2013788fd5beadfe7a496f16432a5e6d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/fuser.c
+++ b/src/fuser.c
@@ -1174,7 +1174,7 @@
 		usage(_("No process specification given"));
 
 	/* Check if -M flag was used and if so check mounts */
-	if (opts * OPT_ISMOUNTPOINT) {
+	if (opts & OPT_ISMOUNTPOINT) {
 	    check_mountpoints(&mounts, &names_head, &names_tail);
 	}