aboutsummaryrefslogtreecommitdiff
path: root/src/rc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-02 14:37:30 +0000
committerRoy Marples <roy@marples.name>2007-10-02 14:37:30 +0000
commitb675ca477932acda8d306e4bc3b5cb3c05cd8f44 (patch)
treeefd820479728e7c42157c09367e90e738eb06a44 /src/rc.c
parent69ebf0c73888203968d6737773a6a2c41636f551 (diff)
Compile fix
Diffstat (limited to 'src/rc.c')
-rw-r--r--src/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc.c b/src/rc.c
index ec479b98..ae08cfa8 100644
--- a/src/rc.c
+++ b/src/rc.c
@@ -1086,7 +1086,7 @@ int main (int argc, char **argv)
j = (strlen ("moused.") + strlen (service) + 1);
tmp = rc_xmalloc (sizeof (char *) * j);
snprintf (tmp, j, "moused.%s", service);
- if (rc_service_exists (tmp) && rc_allow_plug (tmp))
+ if (rc_service_exists (tmp) && rc_service_plugable (tmp))
rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED);
CHAR_FREE (tmp);
}