chore: fix typo

Signed-off-by: majorteach <csgcgl@126.com>
pull/1615/head
majorteach 12 months ago
parent 6100124c96
commit 71b81735f9

@ -45,7 +45,7 @@ func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, erro
bufSize := sizeOfStatvfs * mountedFsCount
buf := make([]Statvfs, mountedFsCount)
// request agian to get desired mount data
// request again to get desired mount data
_, _, err = unix.Syscall(
483, // SYS___getvfsstat90 syscall
uintptr(unsafe.Pointer(&buf[0])),

Loading…
Cancel
Save