a few err->errx since we don't have error messages here; from Tiago Cunha

This commit is contained in:
okan
2013-10-17 13:59:10 +00:00
parent bfd3f5e5e1
commit a88b8c1363
2 changed files with 5 additions and 5 deletions

View File

@@ -250,7 +250,7 @@ kbfunc_exec(struct client_ctx *cc, union arg *arg)
label = "wm";
break;
default:
err(1, "kbfunc_exec: invalid cmd %d", cmd);
errx(1, "kbfunc_exec: invalid cmd %d", cmd);
/*NOTREACHED*/
}
@@ -305,7 +305,7 @@ kbfunc_exec(struct client_ctx *cc, union arg *arg)
warn("%s", mi->text);
break;
default:
err(1, "kb_func: egad, cmd changed value!");
errx(1, "kb_func: egad, cmd changed value!");
break;
}
}