Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix chmod error message #388

Merged
merged 1 commit into from
Oct 20, 2014
Merged

fix chmod error message #388

merged 1 commit into from
Oct 20, 2014

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Oct 20, 2014

Macro was defined twice

btw.: should every systemcall failure be reported with the suffix: which returned [(%d)-(%s)]." errno, strerror(errno)?

@jrossi
Copy link
Member

jrossi commented Oct 20, 2014

@cgzones makes sense and would make DEBUGing weird problem simpler.

@awiddersheim
Copy link
Member

I like that idea. Just haven't had the time to go through and implement that everywhere.

@awiddersheim
Copy link
Member

I'd merge this but the spacing is a bit weird between the errno and sterror() parameters:

ErrorExit(CHMOD_ERROR, ARGV0, AUTH_FILE, errno ,strerror(errno))

jrossi added a commit that referenced this pull request Oct 20, 2014
@jrossi jrossi merged commit 749c6aa into ossec:master Oct 20, 2014
@cgzones cgzones deleted the fix_chmod_macro branch October 20, 2014 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants