aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2013-10-17 13:59:10 +0000
committerokan2013-10-17 13:59:10 +0000
commitf3a33d7d0931579c31fb93a250fdaf1bc6181a2d (patch)
tree20699ce5306f8afb3b000e8bed022ed36ff982f7 /kbfunc.c
parent22c136c7443fea5af676a5630f689bcfb1c094b8 (diff)
downloadcwm-f3a33d7d0931579c31fb93a250fdaf1bc6181a2d.tar.gz
a few err->errx since we don't have error messages here; from Tiago Cunha
Diffstat (limited to '')
-rw-r--r--kbfunc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 419c096..4072a45 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: kbfunc.c,v 1.79 2013/07/08 18:19:22 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.80 2013/10/17 13:59:10 okan Exp $
*/
#include <sys/param.h>
@@ -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;
}
}