some more stack shrinking
This commit is contained in:
@@ -364,12 +364,12 @@ static void export_unit_do(UlistEntry *li, IniWriter *iw)
|
||||
{
|
||||
// special message for failed unit die to resource
|
||||
if (pUnit->status == E_RESOURCE_NOT_AVAILABLE) {
|
||||
iw_comment(iw, "!!! %s not available, already held by %s",
|
||||
iw_commentf(iw, "!!! %s not available, already held by %s",
|
||||
rsc_get_name(pUnit->failed_rsc),
|
||||
rsc_get_owner_name(pUnit->failed_rsc));
|
||||
}
|
||||
else {
|
||||
iw_comment(iw, "!!! %s", error_get_message(pUnit->status));
|
||||
iw_commentf(iw, "!!! %s", error_get_message(pUnit->status));
|
||||
}
|
||||
iw_cmt_newline(iw);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user