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

This commit is contained in:
Hisham Muhammad 2017-08-01 15:48:43 -07:00
parent 4300a19592
commit 9487bda330
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ static void LinuxProcessList_readCGroupFile(LinuxProcess* process, const char* d
at++; at++;
left--; left--;
} }
int wrote = xSnprintf(at, left, "%s", group); int wrote = snprintf(at, left, "%s", group);
left -= wrote; left -= wrote;
} }
fclose(file); fclose(file);