Skip to content

Commit

Permalink
Update vlib/os/os_nix.c.v
Browse files Browse the repository at this point in the history
Co-authored-by: JalonSolov <JalonSolov@gmail.com>
  • Loading branch information
spytheman and JalonSolov authored Feb 2, 2025
1 parent 90da7da commit e75e3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/os/os_nix.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ pub fn disk_usage(path string) !DiskUsage {
mut vfs := C.statvfs{}
ret := unsafe { C.statvfs(&char(mpath.str), &vfs) }
if ret == -1 {
return error('can\`t get disk usage of path')
return error('cannot get disk usage of path')
}
f_bsize := u64(vfs.f_bsize)
f_blocks := u64(vfs.f_blocks)
Expand Down

0 comments on commit e75e3d1

Please sign in to comment.