From f5e7ec262abc1ff84e36b6a30f427894b834b474 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Jul 2006 04:02:08 +0000 Subject: automerge commit git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@37416 f38db490-d61c-443f-a65b-d21fe96a405b --- app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.c b/app.c index 4971f4d77..64fa49fa7 100644 --- a/app.c +++ b/app.c @@ -1158,7 +1158,7 @@ enum AST_LOCK_RESULT ast_lock_path(const char *path) 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); -- cgit v1.2.3