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 printf family usage #143

Merged
merged 2 commits into from
Feb 23, 2018
Merged

Fix printf family usage #143

merged 2 commits into from
Feb 23, 2018

Commits on Oct 19, 2017

  1. test: Fix trivial compiler warning in dlwrap

    This mutes compiler warnings for `dlwrap.c` by ensuring we actually check
    the return status of the `asprintf` call. At this point in the test suite
    our possible failure here is only memory, so we'll abort.
    
    Signed-off-by: Ikey Doherty <ikey@solus-project.com>
    ikeydoherty committed Oct 19, 2017
    Configuration menu
    Copy the full SHA
    9dde800 View commit details
    Browse the repository at this point in the history
  2. Only use printf family when passing arguments

    This avoids any unnecessary allocations when simply passing static strings
    to be printed onto stderr, and uses the simpler fputs mechanism.
    
    Signed-off-by: Ikey Doherty <ikey@solus-project.com>
    ikeydoherty committed Oct 19, 2017
    Configuration menu
    Copy the full SHA
    c8d7ae6 View commit details
    Browse the repository at this point in the history