summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c
index 50774dffd..4973ef64b 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -323,7 +323,6 @@ static void
xwrite (int fd, char *const buffer, size_t n_bytes)
{
assert (fd == STDOUT_FILENO);
- assert (n_bytes >= 0);
if (n_bytes > 0 && fwrite (buffer, 1, n_bytes, stdout) == 0)
error (EXIT_FAILURE, errno, _("write error"));
}