Skip to content

Commit

Permalink
fix msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kbkpbot committed Feb 2, 2025
1 parent f555637 commit 60320e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vlib/os/os_nix.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ pub fn disk_usage(path string) !(u64, u64, u64) {
mut vfs := C.statvfs{}
ret := C.statvfs(mpath.str, &vfs)
if ret == -1 {
return error('can\`t get disk_usage of path')
return error('can\`t get disk usage of path')
}
f_bsize := u64(vfs.f_bsize)
f_blocks := u64(vfs.f_blocks)
Expand Down
2 changes: 1 addition & 1 deletion vlib/os/os_windows.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ pub fn disk_usage(path string) !(u64, u64, u64) {
&available)
}
if ret == false {
return error("can't get disk usage of path")
return error('can\`t get disk usage of path')
}
return total, available, total - available
}

0 comments on commit 60320e6

Please sign in to comment.