On 12/12/12 14:13, Ján Tomko wrote:
On 12/11/12 21:30, Peter Krempa wrote:
> if (!pw) {
> - VIR_DEBUG("User record for user '%s' does not exist",
name);
> + if (rc != 0) {
> + char buf[1024];
> + /* log the possible error from getpwnam_r. Unfortunately error
> + * reporting from this function is bad and we can't really
> + * rely on it, so we just report that the user wasn't found */
> + VIR_WARN("User record for user '%s' does was not found:
%s",
s/does was/was/
> + name, virStrerror(rc, buf, sizeof(buf)));
> + }
...
> + if (rc != 0) {
> + char buf[1024];
> + /* log the possible error from getgrnam_r. Unfortunately error
> + * reporting from this function is bad and we can't really
> + * rely on it, so we just report that the user wasn't found */
> + VIR_WARN("Group record for user '%s' does was not found:
%s",
here too
> + name, virStrerror(rc, buf, sizeof(buf)));
> + }
> +
> ret = 1;
> goto cleanup;
> }
Damn I just pushed that ...
I'll fix it right away ...
Peter