Skip to content

Commit c18b137

Browse files
committed
IOSS: Fix type in filesystem_type function
1 parent d9a023d commit c18b137

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/seacas/libraries/ioss/src/Ioss_FileInfo.C

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ namespace Ioss {
195195
return stat_fs.f_fstypename;
196196
#else
197197
/* linux statfs defines that 0x6969 is NFS filesystem */
198-
if (fs_stats.f_type == 0x0BD00BD0)
199-
return "lustre";
200-
if (fs_stats.f_type == 0x47504653)
201-
return "gpfs";
202-
if (fs_stats.f_type == 0x6969)
203-
return "nfs";
198+
if (stat_fs.f_type == 0x0BD00BD0)
199+
return "lustre";
200+
if (stat_fs.f_type == 0x47504653)
201+
return "gpfs";
202+
if (stat_fs.f_type == 0x6969)
203+
return "nfs";
204204
#endif
205205
}
206206
#endif

0 commit comments

Comments
 (0)