Skip to content

Conversation

@delamonpansie
Copy link
Contributor

Make it consistent with the other one: in case of error report failed input.

if (sscanf(string, "%d", &item->value) != 1)
eerrorx("%s: invalid timeout in schedule",
applet);
eerrorx("%s: invalid timeout value in schedule `%s'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use two single quotes (and feel free to change the other message to it as well if it's using `')

and i think we can fold this into a single line

Copy link
Contributor Author

@delamonpansie delamonpansie Jun 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated both messages to use '%s' style quotes. Folding into single line breaks 100 char limit and makes it longest line in file and I decided against it.

Make it consistent with the other one: in case of error report failed
input.

Also change quoting from `%s' to '%s'.
@navi-desu
Copy link
Member

thanks!

@navi-desu navi-desu merged commit 0932f23 into OpenRC:master Jun 11, 2025
7 checks passed
@delamonpansie delamonpansie deleted the fix-timeout-message branch June 11, 2025 14:42
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