Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11606

use llapi_error() for errors in liblustreapi files

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.12.0
    • Fix Version/s: Lustre 2.13.0
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      Change calls to printf(...) and fprintf(stderr, ...) to use llapi_printf() and llapi_error() so that it is possible to override these calls when liblustreapi is linked into some other application.

      The usage of fprintf(fd, ...) in llapi_json_write_list() should not be changed.

        Attachments

          Activity

            People

            • Assignee:
              arshad512 Arshad Hussain
              Reporter:
              adilger Andreas Dilger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: