summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--main.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ecfe4269..07cee9dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-29 Will Cohen <wcohen@redhat.com>
+
+ * main.cxx (handle_interrupts): Make compatible with GCC 4.3.
+
2008-02-28 Frank Ch. Eigler <fche@elastic.org>
PR5045
diff --git a/main.cxx b/main.cxx
index 449c1a2a..4364f664 100644
--- a/main.cxx
+++ b/main.cxx
@@ -197,7 +197,7 @@ void handle_interrupt (int /* sig */)
{
char msg[] = "Too many interrupts received, exiting.\n";
int rc = write (2, msg, sizeof(msg)-1);
- if (rc) /* Do nothing; we don't care if our last gasp went out. */ ;
+ if (rc) {/* Do nothing; we don't care if our last gasp went out. */ ;}
_exit (1);
}
}