me = (CitContext *) malloc(sizeof(CitContext));
if (me == NULL) {
- syslog(LOG_ERR, "citserver: malloc() failed: %s", strerror(errno));
+ syslog(LOG_ERR, "citserver: malloc() failed: %m");
return NULL;
}
memset(me, 0, sizeof(CitContext));
me = (CitContext *) malloc(sizeof(CitContext));
if (me == NULL) {
- syslog(LOG_ERR, "citserver: malloc() failed: %s", strerror(errno));
+ syslog(LOG_ERR, "citserver: malloc() failed: %m");
return NULL;
}
memcpy(me, CloneMe, sizeof(CitContext));