(elide_tail_bytes_pipe): Use xnmalloc, rather than xmalloc.

This commit is contained in:
Jim Meyering committed 2004-05-06 14:24:16 +00:00
1 parent 4de12cc012
commit 94c2794761
1 file changed
+1 -1
+1 -1
View File
@@ -254,7 +254,7 @@ elide_tail_bytes_pipe (const char *filename, int fd, uintmax_t n_elide_0)
size_t n_to_read = READ_BUFSIZE + n_elide;
unsigned int i;
char *b[2];
b[0] = xmalloc (2 * n_to_read);
b[0] = xnmalloc (2, n_to_read);
b[1] = b[0] + n_to_read;
for (i = 0; ! eof ; i = !i)