Commit 9487bda3 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Do not use xSnprintf when the result is used. Fixes #662.

parent 4300a195
......@@ -491,7 +491,7 @@ static void LinuxProcessList_readCGroupFile(LinuxProcess* process, const char* d
at++;
left--;
}
int wrote = xSnprintf(at, left, "%s", group);
int wrote = snprintf(at, left, "%s", group);
left -= wrote;
}
fclose(file);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment