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

Signed-off-by: OBATA Akio <obache@wizdas.com>
pull/11/head
OBATA Akio 5 years ago committed by TDE Gitea
parent d349995488
commit a52303734b

@ -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