lol
1From 3638cc55b4d08851faba46635d737b24d016665b Mon Sep 17 00:00:00 2001
2From: Brad Jorsch <anomie@users.sourceforge.net>
3Date: Fri, 28 Feb 2014 21:55:02 +1100
4Subject: [PATCH] Typo in fuser makes -M on all the time
5
6Brad found that fuser had the -M option on all the time.
7A simple but significant typo caused this, thanks the the patch.
8
9Bug-Debian: http://bugs.debian.org/740275
10
11Signed-off-by: Craig Small <csmall@enc.com.au>
12---
13 ChangeLog | 4 ++++
14 src/fuser.c | 2 +-
15 2 files changed, 5 insertions(+), 1 deletion(-)
16
17diff --git a/ChangeLog b/ChangeLog
18index fd1cccf..e5f784c 100644
19--- a/ChangeLog
20+++ b/ChangeLog
21@@ -1,3 +1,7 @@
22+Changes in 22.22
23+================
24+ * Fixed typo in fuser which has -M on Debian #740275
25+
26 Changes in 22.21
27 ================
28 * Missing comma in fuser(1) added Debian #702391
29diff --git a/src/fuser.c b/src/fuser.c
30index b485f65..389b302 100644
31--- a/src/fuser.c
32+++ b/src/fuser.c
33@@ -1174,7 +1174,7 @@ int main(int argc, char *argv[])
34 usage(_("No process specification given"));
35
36 /* Check if -M flag was used and if so check mounts */
37- if (opts * OPT_ISMOUNTPOINT) {
38+ if (opts & OPT_ISMOUNTPOINT) {
39 check_mountpoints(&mounts, &names_head, &names_tail);
40 }
41
42--
431.9.2
44