chiark / gitweb /
Use initalization instead of explicit zeroing
[elogind.git] / src / remount-fs / remount-fs.c
index b49d095cbb402ea0fbb25909663db45058a8e09c..f432718d6b9148d615fda958a88f90f4790318c3 100644 (file)
@@ -129,10 +129,9 @@ int main(int argc, char *argv[]) {
         }
 
         while (!hashmap_isempty(pids)) {
-                siginfo_t si;
+                siginfo_t si = {};
                 char *s;
 
-                zero(si);
                 if (waitid(P_ALL, 0, &si, WEXITED) < 0) {
 
                         if (errno == EINTR)