summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/paste.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-09-20 14:58:12 +0000
committernicm <nicm@openbsd.org>2009-09-20 14:58:12 +0000
commit85d997dce70e26fe1f89d6c92f6b3e34ad197a1c (patch)
treee0948db89f23cef27d9437ebc3011ccff2d637d7 /usr.bin/tmux/paste.c
parentsync (diff)
downloadwireguard-openbsd-85d997dce70e26fe1f89d6c92f6b3e34ad197a1c.tar.xz
wireguard-openbsd-85d997dce70e26fe1f89d6c92f6b3e34ad197a1c.zip
Regularise some fatal messages.
Diffstat (limited to 'usr.bin/tmux/paste.c')
-rw-r--r--usr.bin/tmux/paste.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c
index e995a1f4869..a00c876e74f 100644
--- a/usr.bin/tmux/paste.c
+++ b/usr.bin/tmux/paste.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: paste.c,v 1.4 2009/09/07 18:50:45 nicm Exp $ */
+/* $OpenBSD: paste.c,v 1.5 2009/09/20 14:58:12 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -117,7 +117,7 @@ paste_add(struct paste_stack *ps, u_char *data, size_t size, u_int limit)
pb->data = data;
pb->size = size;
if (gettimeofday(&pb->tv, NULL) != 0)
- fatal("gettimeofday");
+ fatal("gettimeofday failed");
}
int
@@ -134,7 +134,7 @@ paste_replace(struct paste_stack *ps, u_int idx, u_char *data, size_t size)
pb->data = data;
pb->size = size;
if (gettimeofday(&pb->tv, NULL) != 0)
- fatal("gettimeofday");
+ fatal("gettimeofday failed");
return (0);
}