Skip to content

handle libaudit return values#2718

Merged
karelzak merged 2 commits intoutil-linux:masterfrom
t-8ch:audit/ret
Jan 19, 2024
Merged

handle libaudit return values#2718
karelzak merged 2 commits intoutil-linux:masterfrom
t-8ch:audit/ret

Conversation

@t-8ch
Copy link
Member

@t-8ch t-8ch commented Jan 19, 2024

No description provided.

t-8ch added 2 commits January 19, 2024 03:12
The function is marked was `warn_unused_result`, so do something with
the return value.

Signed-off-by: Thomas Weißschuh <[email protected]>
The function is marked with `warn_unused_result` so handle the return
value. Failures of `audit_open()` are also silently ignored so do the
same for `audit_log_acct_message()` itself.

Signed-off-by: Thomas Weißschuh <[email protected]>
@karelzak karelzak merged commit 6c639c8 into util-linux:master Jan 19, 2024
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.

2 participants