aboutsummaryrefslogtreecommitdiff
path: root/paste.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-20 22:11:27 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-20 22:11:27 +0000
commit3266fb5441e99c809ee56806a0eb8d113a4d099f (patch)
treef52c08a3d9aed0b3861348f4a20f8ddf21e4e99d /paste.c
parentab967724365e8210ad51bbaa8b2c2d28f548e188 (diff)
downloadrtmux-3266fb5441e99c809ee56806a0eb8d113a4d099f.tar.gz
rtmux-3266fb5441e99c809ee56806a0eb8d113a4d099f.tar.bz2
rtmux-3266fb5441e99c809ee56806a0eb8d113a4d099f.zip
Sync OpenBSD patchset 332:
Regularise some fatal messages.
Diffstat (limited to 'paste.c')
-rw-r--r--paste.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/paste.c b/paste.c
index 9e41ce54..69579e07 100644
--- a/paste.c
+++ b/paste.c
@@ -1,4 +1,4 @@
-/* $Id: paste.c,v 1.9 2009-09-07 23:48:54 tcunha Exp $ */
+/* $Id: paste.c,v 1.10 2009-09-20 22:11:27 tcunha 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);
}