2014-04-25 12:02:11 +02:00
|
|
|
commit 3638cc55b4d08851faba46635d737b24d016665b
|
|
|
|
Author: Brad Jorsch <anomie@users.sourceforge.net>
|
|
|
|
Date: Fri Feb 28 21:55:02 2014 +1100
|
|
|
|
|
|
|
|
Typo in fuser makes -M on all the time
|
|
|
|
|
|
|
|
Brad found that fuser had the -M option on all the time.
|
|
|
|
A simple but significant typo caused this, thanks the the patch.
|
|
|
|
|
|
|
|
Bug-Debian: http://bugs.debian.org/740275
|
|
|
|
|
|
|
|
Signed-off-by: Craig Small <csmall@enc.com.au>
|
|
|
|
|
|
|
|
================================================================================
|
2017-06-20 16:04:40 +02:00
|
|
|
---
|
|
|
|
psmisc-22.21/ChangeLog | 3 +++
|
|
|
|
psmisc-22.21/src/fuser.c | 2 +-
|
|
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
|
2014-04-25 12:02:11 +02:00
|
|
|
--- psmisc-22.21/ChangeLog
|
2017-06-20 16:04:40 +02:00
|
|
|
+++ psmisc-22.21/ChangeLog 2017-06-20 13:49:45.560719825 +0000
|
2014-04-25 12:02:11 +02:00
|
|
|
@@ -1,3 +1,6 @@
|
|
|
|
+Changes in 22.22
|
|
|
|
+================
|
|
|
|
+ * Fixed typo in fuser which has -M on Debian #740275
|
|
|
|
* Make usage of linked lists of devices found in
|
|
|
|
/proc/self/mountinfo optional
|
|
|
|
* Make timeout() in timeout.c work with shared mmap to
|
|
|
|
--- psmisc-22.21/src/fuser.c
|
2017-06-20 16:04:40 +02:00
|
|
|
+++ psmisc-22.21/src/fuser.c 2017-06-20 13:49:45.564719750 +0000
|
|
|
|
@@ -1148,7 +1148,7 @@ int main(int argc, char *argv[])
|
2014-04-25 12:02:11 +02:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|