[LU-11606] use llapi_error() for errors in liblustreapi files Created: 02/Nov/18 Updated: 16/Jan/23 Resolved: 04/Jan/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0 |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Arshad Hussain |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy | ||
| 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. |
| Comments |
| Comment by Gerrit Updater [ 15/Dec/18 ] |
|
Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: https://review.whamcloud.com/33877 |
| Comment by Gerrit Updater [ 04/Jan/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33877/ |
| Comment by Peter Jones [ 04/Jan/19 ] |
|
Landed for 2.13 |