From 5f413b26ebaab8a6478427e4125bda628058ff85 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 19 Jan 2012 17:19:19 -0600 Subject: Add keyboard hotplug (add/remove) support to tsak This closes Bug 587 Fix warning in kompmgr --- twin/kompmgr/kompmgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'twin') diff --git a/twin/kompmgr/kompmgr.c b/twin/kompmgr/kompmgr.c index 5daf8c217..82166766e 100644 --- a/twin/kompmgr/kompmgr.c +++ b/twin/kompmgr/kompmgr.c @@ -60,6 +60,7 @@ check baghira.sf.net for more infos #include #include #include +#include #include #include #include @@ -397,7 +398,7 @@ void delete_pid_file() int chars = readlink("/proc/self/exe", me, sizeof(me)); me[chars] = 0; me[2047] = 0; - execl(me, NULL); + execl(me, basename(me), (char*)NULL); } #endif } -- cgit v1.2.3