Skip to content

Commit

Permalink
fix: error message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 authored Aug 17, 2023
1 parent 1f17a6c commit ef4e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ func GetDirUsage(dir string) (UsageInfo, error) {

rootStat, ok := rootInfo.Sys().(*syscall.Stat_t)
if !ok {
return usage, fmt.Errorf("unsuported fileinfo for getting inode usage of %q", dir)
return usage, fmt.Errorf("unsupported fileinfo for getting inode usage of %q", dir)
}

rootDevID := rootStat.Dev
Expand Down

0 comments on commit ef4e649

Please sign in to comment.