From a299387d886666f1cb32dcc462cda7f7c795356a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 17 May 2018 10:43:20 +0000 Subject: [PATCH] boo#1093665 OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=100 --- ...Use-mountinfo-to-be-able-to-use-the-mount-identity.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch b/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch index 3feccce..a89aa3f 100644 --- a/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch +++ b/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch @@ -1,4 +1,4 @@ -From a1d3fc4d5040dcc3e107b3b8dcf9756dbed38f45 Mon Sep 17 00:00:00 2001 +From d7487838d0c79bd007e63e9ba9f7933cec40e3c9 Mon Sep 17 00:00:00 2001 From: Werner Fink Date: Thu, 29 Jun 2017 15:18:28 +0200 Subject: [PATCH] Use mountinfo to be able to use the mount identity @@ -64,7 +64,7 @@ index 176a2fc..d8d3366 100644 dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST diff --git src/fuser.c src/fuser.c -index 31ef30c..81f1064 100644 +index 31ef30c..a204f08 100644 --- src/fuser.c +++ src/fuser.c @@ -32,6 +32,10 @@ @@ -625,7 +625,7 @@ index 31ef30c..81f1064 100644 - ("Cannot allocate memory for matched proc: %s\n"), - strerror(errno)); - exit(1); -+ (mnt, "%i %i %u:%u %*s %s %*[^\-] - %s %*[^\n]", ++ (mnt, "%i %i %u:%u %*s %s %*[^-] - %s %*[^\n]", + &mid, &parid, &maj, &min, &mpoint[0], &type[0]) == 6) + (void)add_mntinfo(mpoint, type, mid, parid, makedev(maj, min)); +#else