Commit 4a785b6e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(sys_signal): Use 0, not NULL, to set sa_flags.

parent 4edde998
......@@ -2113,7 +2113,7 @@ sys_signal (int signal_number, signal_handler_t action)
#else
sigemptyset (&new_action.sa_mask);
new_action.sa_handler = action;
new_action.sa_flags = NULL;
new_action.sa_flags = 0;
sigaction (signal_number, &new_action, &old_action);
return (old_action.sa_handler);
#endif /* DGUX */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment