[asterisk-commits] branch 1.2 r37402 - /branches/1.2/app.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jul 11 20:55:37 MST 2006
Author: mogorman
Date: Tue Jul 11 22:55:36 2006
New Revision: 37402
URL: http://svn.digium.com/view/asterisk?rev=37402&view=rev
Log:
GRRR no fprintf!
Modified:
branches/1.2/app.c
Modified: branches/1.2/app.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/app.c?rev=37402&r1=37401&r2=37402&view=diff
==============================================================================
--- branches/1.2/app.c (original)
+++ branches/1.2/app.c Tue Jul 11 22:55:36 2006
@@ -1158,7 +1158,7 @@
snprintf(fs, strlen(path) + 19, "%s/.lock-%08x", path, rand());
fd = open(fs, O_WRONLY | O_CREAT | O_EXCL, 0600);
if (fd < 0) {
- fprintf(stderr, "Unable to create lock file '%s': %s\n", path, strerror(errno));
+ ast_log(LOG_ERROR, "Unable to create lock file '%s': %s\n", path, strerror(errno));
return AST_LOCK_PATH_NOT_FOUND;
}
close(fd);
More information about the asterisk-commits
mailing list