From f32a70b091d3ee6524e760ec2cb21080f67fe2ee Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Wed, 30 Mar 2005 13:21:45 +0000 Subject: [PATCH 1/1] Fix a small bug on an error path introduced by the hashtree patch. --- restore/utilities.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restore/utilities.c b/restore/utilities.c index c16590c..f17bd9c 100644 --- a/restore/utilities.c +++ b/restore/utilities.c @@ -37,7 +37,7 @@ #ifndef lint static const char rcsid[] = - "$Id: utilities.c,v 1.27 2005/01/13 15:41:07 stelian Exp $"; + "$Id: utilities.c,v 1.28 2005/03/30 13:21:45 stelian Exp $"; #endif /* not lint */ #include @@ -380,7 +380,7 @@ badentry(struct entry *ep, const char *msg) int i; for (i = 0; i < DIRHASH_SIZE; i++) { if (ep->e_entries[i] != NULL) { - fprintf(stderr, "next entry name: %s\n", myname(ep->e_entries[0])); + fprintf(stderr, "next entry name: %s\n", myname(ep->e_entries[i])); break; } } -- 2.39.2