summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/crashhandler.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-27 18:52:48 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-27 18:52:48 +0000
commit6405a5f5f4d09b17dff403429c0f0077fe8f1c71 (patch)
tree47921008430b433cac4c83e519d9bab187730436 /beryl-plugins/src/crashhandler.c
parentc344fb07b194b4ac88d1cf9f78901f36d292c9cb (diff)
downloadmarex-dev-6405a5f5f4d09b17dff403429c0f0077fe8f1c71.tar.gz
marex-dev-6405a5f5f4d09b17dff403429c0f0077fe8f1c71.tar.bz2
MAJOR CODE CLEANUP
beryl no longer uses any extern'd variables, and has get() functions for the things that can't be static const'd git-svn-id: file:///beryl/trunk@837 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/crashhandler.c')
-rw-r--r--beryl-plugins/src/crashhandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/crashhandler.c b/beryl-plugins/src/crashhandler.c
index ff67569..552ae4a 100644
--- a/beryl-plugins/src/crashhandler.c
+++ b/beryl-plugins/src/crashhandler.c
@@ -67,7 +67,7 @@ crash_handler (int sig)
char cmd[1024];
sprintf (cmd,
"echo -e \"set prompt\nthread apply all bt full\necho \\\\\\n\necho \\\\\\n\nbt\nquit\" > /tmp/gdb.tmp; gdb -q %s %i < /tmp/gdb.tmp | grep -v \"No symbol table\" | tee /tmp/beryl_crash-%i.out; rm -f /tmp/gdb.tmp; echo \"\n[CRASH_HANDLER]: \\\"/tmp/beryl_crash-%i.out\\\" created!\n\"",
- programName, getpid (), getpid (), getpid ());
+ getProgramName(), getpid (), getpid (), getpid ());
system (cmd);
if (cd->opt[CRASHHANDLER_DISPLAY_OPTION_START_WM].value.b)