if ((flags & VIR_DOMAIN_SAVE_RUNNING) && (flags & VIR_DOMAIN_SAVE_PAUSED)) {
virReportInvalidArg(flags, "%s",
- _("running and paused flags are mutually exclusive"));
+ _("running and paused flags are mutually "
+ "exclusive"));
goto error;
}
if ((flags & VIR_DOMAIN_SAVE_RUNNING) && (flags & VIR_DOMAIN_SAVE_PAUSED)) {
virReportInvalidArg(flags, "%s",
- _("running and paused flags are mutually exclusive"));
+ _("running and paused flags are mutually "
+ "exclusive"));
goto error;
}
if ((flags & VIR_DOMAIN_SAVE_RUNNING) && (flags & VIR_DOMAIN_SAVE_PAUSED)) {
virReportInvalidArg(flags, "%s",
- _("running and paused flags are mutually exclusive"));
+ _("running and paused flags are mutually "
+ "exclusive"));
goto error;
}
if ((flags & VIR_DOMAIN_AFFECT_LIVE) &&
(flags & VIR_DOMAIN_AFFECT_CONFIG)) {
virReportInvalidArg(flags,
- _("flags 'affect live' and 'affect config' in %s are mutually exclusive"),
+ _("flags 'affect live' and 'affect config' in %s "
+ "are mutually exclusive"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_AFFECT_LIVE) &&
(flags & VIR_DOMAIN_AFFECT_CONFIG)) {
virReportInvalidArg(flags,
- _("flags 'affect live' and 'affect config' in %s are mutually exclusive"),
+ _("flags 'affect live' and 'affect config' in %s "
+ "are mutually exclusive"),
__FUNCTION__);
goto error;
}
virCheckNonNegativeArgGoto(*nparams, error);
if (cpuNum < 0 && cpuNum != VIR_NODE_CPU_STATS_ALL_CPUS) {
virReportInvalidArg(cpuNum,
- _("cpuNum in %s only accepts %d as a negative value"),
+ _("cpuNum in %s only accepts %d as a negative "
+ "value"),
__FUNCTION__, VIR_NODE_CPU_STATS_ALL_CPUS);
goto error;
}
virCheckNonNegativeArgGoto(*nparams, error);
if (cellNum < 0 && cellNum != VIR_NODE_MEMORY_STATS_ALL_CELLS) {
virReportInvalidArg(cpuNum,
- _("cellNum in %s only accepts %d as a negative value"),
+ _("cellNum in %s only accepts %d as a negative "
+ "value"),
__FUNCTION__, VIR_NODE_MEMORY_STATS_ALL_CELLS);
goto error;
}
if ((flags & VIR_DOMAIN_AFFECT_LIVE) &&
(flags & VIR_DOMAIN_AFFECT_CONFIG)) {
virReportInvalidArg(flags,
- _("flags 'affect live' and 'affect config' in %s are mutually exclusive"),
+ _("flags 'affect live' and 'affect config' in %s "
+ "are mutually exclusive"),
__FUNCTION__);
goto error;
}
/* Exactly one of these two flags must be set. */
if (!(flags & VIR_MEMORY_VIRTUAL) == !(flags & VIR_MEMORY_PHYSICAL)) {
virReportInvalidArg(flags,
- _("flags in %s must include VIR_MEMORY_VIRTUAL or VIR_MEMORY_PHYSICAL"),
+ _("flags in %s must include VIR_MEMORY_VIRTUAL or "
+ "VIR_MEMORY_PHYSICAL"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_AFFECT_LIVE) &&
(flags & VIR_DOMAIN_AFFECT_CONFIG)) {
virReportInvalidArg(flags,
- _("flags 'affect live' and 'affect config' in %s are mutually exclusive"),
+ _("flags 'affect live' and 'affect config' in %s "
+ "are mutually exclusive"),
__FUNCTION__);
goto error;
}
case VIR_DOMAIN_METADATA_TITLE:
if (metadata && strchr(metadata, '\n')) {
virReportInvalidArg(metadata,
- _("metadata title in %s can't contain newlines"),
+ _("metadata title in %s can't contain "
+ "newlines"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_AFFECT_LIVE) &&
(flags & VIR_DOMAIN_AFFECT_CONFIG)) {
virReportInvalidArg(flags,
- _("flags 'affect live' and 'affect config' in %s are mutually exclusive"),
+ _("flags 'affect live' and 'affect config' in %s "
+ "are mutually exclusive"),
__FUNCTION__);
goto error;
}
if (capacity == 0 && !((flags & VIR_STORAGE_VOL_RESIZE_DELTA) ||
(flags & VIR_STORAGE_VOL_RESIZE_SHRINK))) {
virReportInvalidArg(capacity,
- _("capacity in %s cannot be zero without 'delta' or 'shrink' flags set"),
+ _("capacity in %s cannot be zero without 'delta' "
+ "or 'shrink' flags set"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_SAVE_RUNNING) && (flags & VIR_DOMAIN_SAVE_PAUSED)) {
virReportInvalidArg(flags,
- _("running and paused flags in %s are mutually exclusive"),
+ _("running and paused flags in %s are mutually "
+ "exclusive"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_SNAPSHOT_CREATE_CURRENT) &&
!(flags & VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE)) {
virReportInvalidArg(flags,
- _("use of 'current' flag in %s requires 'redefine' flag"),
+ _("use of 'current' flag in %s requires "
+ "'redefine' flag"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE) &&
(flags & VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA)) {
virReportInvalidArg(flags,
- _("'redefine' and 'no metadata' flags in %s are mutually exclusive"),
+ _("'redefine' and 'no metadata' flags in %s are "
+ "mutually exclusive"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE) &&
(flags & VIR_DOMAIN_SNAPSHOT_CREATE_HALT)) {
virReportInvalidArg(flags,
- _("'redefine' and 'halt' flags in %s are mutually exclusive"),
+ _("'redefine' and 'halt' flags in %s are mutually "
+ "exclusive"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_SNAPSHOT_REVERT_RUNNING) &&
(flags & VIR_DOMAIN_SNAPSHOT_REVERT_PAUSED)) {
virReportInvalidArg(flags,
- _("running and paused flags in %s are mutually exclusive"),
+ _("running and paused flags in %s are mutually "
+ "exclusive"),
__FUNCTION__);
goto error;
}
if ((flags & VIR_DOMAIN_AFFECT_LIVE) &&
(flags & VIR_DOMAIN_AFFECT_CONFIG)) {
virReportInvalidArg(flags,
- _("flags 'affect live' and 'affect config' in %s are mutually exclusive"),
+ _("flags 'affect live' and 'affect config' in %s "
+ "are mutually exclusive"),
__FUNCTION__);
goto error;
}