/[hurd]/hurd/utils/shd.c
ViewVC logotype

Diff of /hurd/utils/shd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by roland, Sun Apr 25 19:21:59 1999 UTC revision 1.8 by roland, Wed Jan 2 11:22:17 2002 UTC
# Line 1  Line 1 
1  /*  /*
2     Copyright (C) 1994, 1995, 1999 Free Software Foundation     Copyright (C) 1994,95,99,2002 Free Software Foundation
3    
4     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
5     modify it under the terms of the GNU General Public License as     modify it under the terms of the GNU General Public License as
# Line 92  run (char **argv, int fd0, int fd1) Line 92  run (char **argv, int fd0, int fd1)
92        task_t task;        task_t task;
93        pid_t pid;        pid_t pid;
94    
95        errno = task_create (mach_task_self (), 0, &task);        errno = task_create (mach_task_self (),
96    #ifdef KERN_INVALID_LEDGER
97                               NULL, 0,     /* OSF Mach */
98    #endif
99                               0, &task);
100        if (errno)        if (errno)
101          {          {
102            perror ("task_create");            perror ("task_create");

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26