Use `getvfsnumber()` to retrieve filesystem name on OSF/1 (Tru64)

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit a52303734b)
pull/30/head
OBATA Akio 6 years ago committed by Slávek Banko
parent 39a89fa0a2
commit f0ab3066e1
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -176,7 +176,9 @@ FilesystemStats::List FilesystemStats::readEntries()
entry.dir = sfs[i].f_mntonname;
entry.fsname = sfs[i].f_mntfromname;
#ifndef __osf__
#ifdef __osf__
entry.type = getvfsbynumber(sfs[i].f_type);
#else
entry.type = sfs[i].f_fstypename;
#endif

Loading…
Cancel
Save