Ignore:
Timestamp:
Jan 13, 2010 12:54:25 AM (5 years ago)
Author:
sam
Message:

Fix fork() return value check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/myfork.c

    r4253 r4257  
    157157    /* Fork and launch child */
    158158    pid = fork();
    159     if(pid < -1)
     159    if(pid < 0)
    160160        perror("fork");
    161161    if(pid != 0)
Note: See TracChangeset for help on using the changeset viewer.