]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-events: Fix the logic that retrieves the debugfs mount point
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 May 2013 09:18:54 +0000 (06:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 May 2013 09:18:54 +0000 (06:18 -0300)
commit956db8892cbfc29668a4ec4e2c2f9f7f163d0a9c
tree818d8cf333b56f3b0f5c547dfb99f29e39be7eb3
parentd959c11d3090741b30fc52efd8182c8b13651f88
ras-events: Fix the logic that retrieves the debugfs mount point

While on Fedora/RHEL the mount device for debugfs is called "debugfs",
it is usual to use "none" on some other distros or for manually
mounted debugfs.

So, fix the logic to look at the filesystem type, instead, as it should
always be "debugfs", on both cases.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
ras-events.c