diff options
author | okan | 2013-10-17 13:59:10 +0000 |
---|---|---|
committer | okan | 2013-10-17 13:59:10 +0000 |
commit | f3a33d7d0931579c31fb93a250fdaf1bc6181a2d (patch) | |
tree | 20699ce5306f8afb3b000e8bed022ed36ff982f7 /group.c | |
parent | 22c136c7443fea5af676a5630f689bcfb1c094b8 (diff) | |
download | cwm-f3a33d7d0931579c31fb93a250fdaf1bc6181a2d.tar.gz |
a few err->errx since we don't have error messages here; from Tiago Cunha
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: group.c,v 1.80 2013/10/03 13:51:59 okan Exp $ + * $OpenBSD: group.c,v 1.81 2013/10/17 13:59:10 okan Exp $ */ #include <sys/param.h> @@ -177,7 +177,7 @@ group_movetogroup(struct client_ctx *cc, int idx) struct group_ctx *gc; if (idx < 0 || idx >= CALMWM_NGROUPS) - err(1, "group_movetogroup: index out of range (%d)", idx); + errx(1, "group_movetogroup: index out of range (%d)", idx); gc = &sc->groups[idx]; if (cc->group == gc) @@ -240,7 +240,7 @@ group_hidetoggle(struct screen_ctx *sc, int idx) struct group_ctx *gc; if (idx < 0 || idx >= CALMWM_NGROUPS) - err(1, "group_hidetoggle: index out of range (%d)", idx); + errx(1, "group_hidetoggle: index out of range (%d)", idx); gc = &sc->groups[idx]; group_fix_hidden_state(gc); @@ -261,7 +261,7 @@ group_only(struct screen_ctx *sc, int idx) int i; if (idx < 0 || idx >= CALMWM_NGROUPS) - err(1, "group_only: index out of range (%d)", idx); + errx(1, "group_only: index out of range (%d)", idx); for (i = 0; i < CALMWM_NGROUPS; i++) { if (i == idx) |