summaryrefslogtreecommitdiffstats
path: root/paste.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-20 14:58:12 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-20 14:58:12 +0000
commit273f1b385cdbe472501092edabf78acb2ea70a47 (patch)
tree79da517cecea605be97036d7cb3875404435cd31 /paste.c
parent63d499f480e264f8251552fb6d16965a1065e0e6 (diff)
Regularise some fatal messages.
Diffstat (limited to 'paste.c')
-rw-r--r--paste.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste.c b/paste.c
index f78c0241..582645d5 100644
--- a/paste.c
+++ b/paste.c
@@ -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);
}