Changeset 8 for trunk/src/msg_mgmt.c

Show
Ignore:
Timestamp:
10/20/05 15:05:40 (17 years ago)
Author:
andreu
Message:

second RENETCOL CVS Integration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/msg_mgmt.c

    r2 r8  
    7171      syslog(LOG_INFO,"The IPC queue is full, I don't wait"); 
    7272    } else { 
    73       perror ("msgsnd"); /* FIXME errno to syslog */ 
     73      syslog(LOG_ERR,"msgsnd : %s", strerror(errno));  
    7474      exit(1); 
    7575    } 
     
    8888    syslog(LOG_INFO,"msgrcv : Internal system call"); 
    8989  } else { 
    90     perror ("msgrcv"); 
     90    syslog (LOG_ERR,"msgrcv : %s", strerror(errno)); 
    9191    exit(1); 
    9292  }