summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/openbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 59e126b7..7f141d6f 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
ob_display = XOpenDisplay(NULL);
if (ob_display == NULL)
- exit_with_error("Failed to open the display.");
+ ob_exit_with_error("Failed to open the display.");
if (fcntl(ConnectionNumber(ob_display), F_SETFD, 1) == -1)
ob_exit_with_error("Failed to set display as close-on-exec.");