diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-08-01 15:48:43 -0700 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-08-01 15:48:43 -0700 |
commit | 9487bda33016c2b8efa8429256c410a2de184baa (patch) | |
tree | 44c1c565a94cc8da1cef30e5da80ec6371be31a6 /linux | |
parent | 4300a19592a8f1e5c781587441fd5ddbc26d396d (diff) |
Do not use xSnprintf when the result is used. Fixes #662.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/LinuxProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index 662aba87..4b585e30 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -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); |