Skip to content

Commit

Permalink
Changed format of memory stat to match disk stats format. Part of #60
Browse files Browse the repository at this point in the history
  • Loading branch information
iinsertNameHere committed May 8, 2024
1 parent dc0f31c commit 087b362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catniplib/platform/probe.nim
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ proc getMemory*(mb: bool): string =

memUsedInt = memTotalInt - memAvailableInt

result = &"{memUsedInt}/{memTotalInt} {suffix}"
result = &"{memUsedInt} / {memTotalInt} {suffix}"

proc getMounts*(): seq[string] =
proc getMountPoints(): cstring {.importc, varargs, header: "getDisk.h".}
Expand Down

0 comments on commit 087b362

Please sign in to comment.