default:
rc = -EINVAL;
llapi_error(LLAPI_MSG_ERROR, rc,
- "%s: unknown option '-%c'\n",
+ "%s: unknown option '%c'",
argv[0], optopt);
return rc;
case 'u':
opt.o_mdtname, 0);
if (rc) {
llapi_error(LLAPI_MSG_ERROR, rc,
- "unable to open changelog of MDT [%s]\n",
+ "unable to open changelog of MDT '%s'",
opt.o_mdtname);
return rc;
}
rc = llapi_changelog_fini(&chglog_hdlr);
if (rc) {
llapi_error(LLAPI_MSG_ERROR, rc,
- "unable to close changelog of MDT [%s]",
+ "unable to close changelog of MDT '%s'",
opt.o_mdtname);
ret = rc;
return rc;