Whamcloud - gitweb
LU-11606 utils: Call llapi_error() for errors in liblustreapi files 77/33877/3
authorArshad Hussain <arshad.super@gmail.com>
Tue, 4 Dec 2018 12:45:48 +0000 (18:15 +0530)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:49:24 +0000 (04:49 +0000)
commit4983fa82bb2d26fe631bf32815a92733bf910007
treedc1636f44301f851735ab4a65633a17cb10aa358
parenteb5a6f97af63585bb92ff65ad441a2281041bc47
LU-11606 utils: Call llapi_error() for errors in liblustreapi files

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

Change-Id: I6531d29b05b34766a68dabf17299cd00babe2517
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-on: https://review.whamcloud.com/33877
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/liblustreapi.c