Switch back all bzero() calls to use memset()
Even if it's uglier to use memset, bzero seems deprecated.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user