Switch back all bzero() calls to use memset()

Even if it's uglier to use memset, bzero seems deprecated.
This commit is contained in:
Landry Breuil
2018-06-03 17:56:31 +02:00
parent fcf8beb64e
commit 993ef78b81
7 changed files with 11 additions and 11 deletions

View File

@@ -208,7 +208,7 @@ get_task_details (GPid pid, Task *task)
}
fclose (file);
bzero(task, sizeof(Task));
memset(task, 0, sizeof(Task));
/* Scanning the short process name is unreliable with scanf when it contains
* spaces, retrieve it manually and fill the buffer */