cosmetics and small tweaks to pkg-config
This commit is contained in:
parent
86bb6fa93a
commit
04aa8245d0
2 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,7 @@ double VmHWM(void)
|
|||
if (!strncmp(word, "VmHWM:", 6))
|
||||
{
|
||||
if (fscanf(f,"%lf%2s",&res,word)<0)
|
||||
{ fclose(f); return -1.0; }
|
||||
{ fclose(f); return -1.0; }
|
||||
if (strncmp(word, "kB", 2))
|
||||
{ fclose(f); return -1.0; }
|
||||
res *=1024;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue