[LU-3619] llapi_error format does not need a \n Created: 23/Jul/13  Updated: 05/Aug/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: CEA Assignee: Peter Jones
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9316

 Description   

Multiple llapi_error() call use a useless format with \n at the end.



 Comments   
Comment by Peter Jones [ 25/Jul/13 ]

JC

Could you please elaborate a little?

Thanks

Peter

Comment by jacques-charles lafoucriere [ 25/Jul/13 ]

when calling llapi_error(), we provide a string format. As llapi_error() always add a \n to the format, this string we must not have one inside.
One exemple is:
llapi_error(LLAPI_MSG_ERROR, rc, "Can't create pipe\n");
must be replaced by
llapi_error(LLAPI_MSG_ERROR, rc, "Can't create pipe");

Generated at Sat Feb 10 01:35:28 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.