Skip to content

Commit 0e390d6

Browse files
committed
Don't use bzero
1 parent ce34712 commit 0e390d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/node_stdio.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ void Stdio::Initialize(v8::Handle<v8::Object> target) {
207207
NODE_SET_METHOD(target, "setRawMode", SetRawMode);
208208
NODE_SET_METHOD(target, "getColumns", GetColumns);
209209

210-
struct sigaction sa;
211-
bzero(&sa, sizeof(sa));
210+
struct sigaction sa = {0};
212211
sa.sa_handler = HandleSIGCONT;
213212
sigaction(SIGCONT, &sa, NULL);
214213
}

0 commit comments

Comments
 (0)