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

j1939acd: remove legacy '-p' option (prefix to use when logging) #552

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

pseiderer
Copy link
Contributor

  • j1939acd: remove legacy '-p' option (prefix to use when logging)

    • remove legacy '-p' option (prefix to use when logging), fixes uclibc
      compile

    Fixes:

    j1939acd.c: In function 'main':
    j1939acd.c:489:38: error: passing argument 1 of 'asprintf' from incompatible pointer type [-Wincompatible-pointer-types]
      489 |                         if (asprintf(&program_invocation_name, "%s.%s",
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~
          |                                      |
          |                                      const char **
    
  • j1939sr: remove legacy program_invocation_name/program_invocation_short_name code

- remove legacy '-p' option (prefix to use when logging), fixes uclibc
  compile

Fixes:

  j1939acd.c: In function 'main':
  j1939acd.c:489:38: error: passing argument 1 of 'asprintf' from incompatible pointer type [-Wincompatible-pointer-types]
    489 |                         if (asprintf(&program_invocation_name, "%s.%s",
        |                                      ^~~~~~~~~~~~~~~~~~~~~~~~
        |                                      |
        |                                      const char **

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
…rt_name code

- remove legacy program_invocation_name/program_invocation_short_name code

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
@olerem
Copy link
Contributor

olerem commented Jul 23, 2024

For the reference, this change was requested in #549 (comment)

@olerem olerem merged commit 8a156fe into linux-can:master Jul 24, 2024
12 checks passed
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