projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Revert change in flow cookie when an ofoperation fails.
[openvswitch]
/
lib
/
fatal-signal.c
diff --git
a/lib/fatal-signal.c
b/lib/fatal-signal.c
index fff2a73050021ab638751b0755c8b0df2fdf9e3d..9130a230084b07d41ac3b8826f5bb26d5d895226 100644
(file)
--- a/
lib/fatal-signal.c
+++ b/
lib/fatal-signal.c
@@
-152,14
+152,14
@@
fatal_signal_handler(int sig_nr)
void
fatal_signal_run(void)
{
void
fatal_signal_run(void)
{
-
in
t sig_nr;
+
sig_atomic_
t sig_nr;
fatal_signal_init();
sig_nr = stored_sig_nr;
if (sig_nr != SIG_ATOMIC_MAX) {
VLOG_WARN("terminating with signal %d (%s)",
fatal_signal_init();
sig_nr = stored_sig_nr;
if (sig_nr != SIG_ATOMIC_MAX) {
VLOG_WARN("terminating with signal %d (%s)",
- sig_nr, signal_name(sig_nr));
+
(int)
sig_nr, signal_name(sig_nr));
call_hooks(sig_nr);
/* Re-raise the signal with the default handling so that the program
call_hooks(sig_nr);
/* Re-raise the signal with the default handling so that the program