Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: majorteach <csgcgl@126.com>
  • Loading branch information
majorteach committed Mar 23, 2024
1 parent 6100124 commit 71b8173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk/disk_netbsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])),
Expand Down

0 comments on commit 71b8173

Please sign in to comment.