/*
- * $Id: comment.c,v 1.7 2002-01-04 04:45:47 sibaz Exp $
+ * $Id: comment.c,v 1.8.10.1 2008-11-14 10:04:52 didg Exp $
*
* Copyright (c) 1990,1994 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#include "comment.h"
if (( cs = (struct comstate *)malloc( sizeof( struct comstate ))) ==
NULL ) {
- LOG(log_error, logtype_default, "malloc: %m" );
+ LOG(log_error, logtype_papd, "malloc: %s", strerror(errno) );
exit( 1 );
}
}
}
if ( comment == NULL || comment->c_handler != handler ) {
- LOG(log_error, logtype_default, "comswitch: can't find handler!" );
+ LOG(log_error, logtype_papd, "comswitch: can't find handler!" );
return( -1 );
}
compop();