Changeset 2489

Show
Ignore:
Timestamp:
02/05/07 21:40:22 (2 years ago)
Author:
dhozac
Message:

Try to figure out the xid if not specified.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vkill.c

    r2403 r2489  
    155155kill_wrapper(xid_t xid, char const *pid, int sig) 
    156156{ 
     157  if (xid==VC_NOCTX) 
     158    xid = vc_get_task_xid(pid); 
    157159  if (vc_ctx_kill(xid,atoi(pid),sig)==-1) { 
    158160    perror("vkill: vc_ctx_kill()");