diff options
Diffstat (limited to 'src/rotate.c')
-rw-r--r-- | src/rotate.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rotate.c b/src/rotate.c index ad1752e..fae79f4 100644 --- a/src/rotate.c +++ b/src/rotate.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.10 2008/03/07 13:16:02 james + * *** empty log message *** + * * Revision 1.9 2008/03/07 12:37:04 james * *** empty log message *** * @@ -71,8 +74,8 @@ rotate (char *file) return; i = strlen (file) + 32; - buf1 = malloc (i); - buf2 = malloc (i); + buf1 = xmalloc (i); + buf2 = xmalloc (i); for (i = NUM_FILES_TO_KEEP; i > 0; --i) { sprintf (buf1, "%s.%d", file, i - 1); |