提交 7afa2a9e 编写于 作者: Y yuqing

set_run_by log more info

上级 663abcdc
Version 1.13 2015-01-28
Version 1.13 2015-02-27
* support php extension
* php extention export simple_hash and time33_hash
* set_run_by log more info
Version 1.12 2014-12-05
* bug fixed: must check the return value of vsnprintf
......
......@@ -1419,8 +1419,8 @@ int set_run_by(const char *group_name, const char *username)
{
nErrNo = errno != 0 ? errno : ENOENT;
logError("file: "__FILE__", line: %d, " \
"getgrnam fail, errno: %d, error info: %s.", \
__LINE__, nErrNo, STRERROR(nErrNo));
"getgrnam %s fail, errno: %d, error info: %s.", \
__LINE__, group_name, nErrNo, STRERROR(nErrNo));
return nErrNo;
}
......@@ -1441,8 +1441,8 @@ int set_run_by(const char *group_name, const char *username)
{
nErrNo = errno != 0 ? errno : ENOENT;
logError("file: "__FILE__", line: %d, " \
"getpwnam fail, errno: %d, error info: %s.", \
__LINE__, nErrNo, STRERROR(nErrNo));
"getpwnam %s fail, errno: %d, error info: %s.", \
__LINE__, username, nErrNo, STRERROR(nErrNo));
return nErrNo;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册