summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorwcohen <wcohen>2008-02-29 14:36:28 +0000
committerwcohen <wcohen>2008-02-29 14:36:28 +0000
commit9ceec314dfc92c5d69442966dd386aaefee90bea (patch)
tree5a3a3bc2147cbb4740ea78888220b8c94cc6fbd4 /main.cxx
parent49abf162fa91397b0c65d41f5c9af31ace4e6290 (diff)
downloadsystemtap-steved-9ceec314dfc92c5d69442966dd386aaefee90bea.tar.gz
systemtap-steved-9ceec314dfc92c5d69442966dd386aaefee90bea.tar.xz
systemtap-steved-9ceec314dfc92c5d69442966dd386aaefee90bea.zip
2008-02-29 Will Cohen <wcohen@redhat.com>
* main.cxx (handle_interrupts): Make compatible with GCC 4.3.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}
}