diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2019-03-22 08:16:47 +0100 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2019-03-22 08:16:47 +0100 |
commit | ca868edc04566b856b9f2042243c426c8c829428 (patch) | |
tree | 4c6d4fe28adb0772103a6509537aae7602ad2ad3 | |
parent | 99159870fb5a602eb414fec2ccd66dbb492f376a (diff) | |
download | sos-ca868edc04566b856b9f2042243c426c8c829428.tar.gz |
[xfs] call xfs_admin on device name
xfs_admin is called with argument of mounting point while it accepts
device name.
Resolves: #1610
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/xfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/xfs.py b/sos/plugins/xfs.py index 7c81cc1e..c04ef0af 100644 --- a/sos/plugins/xfs.py +++ b/sos/plugins/xfs.py @@ -24,7 +24,7 @@ class Xfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): for e in dev: parts = e.split(' ') self.add_cmd_output("xfs_info %s" % (parts[1])) - self.add_cmd_output("xfs_admin -l -u %s" % (parts[1])) + self.add_cmd_output("xfs_admin -l -u %s" % (parts[0])) self.add_copy_spec([ '/proc/fs/xfs', |