summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/afs/src/arlad/volcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/arlad/volcache.c b/usr.sbin/afs/src/arlad/volcache.c
index 577466e57b5..27b543f10eb 100644
--- a/usr.sbin/afs/src/arlad/volcache.c
+++ b/usr.sbin/afs/src/arlad/volcache.c
@@ -494,7 +494,7 @@ volcache_recover_entry (struct volcache_store *st, void *ptr)
struct vstore_context *c = (struct vstore_context *)ptr;
e->cell = cell_name2num (st->cell);
- if (e->cell != -1) {
+ if (e->cell == -1) {
arla_warnx(ADEBWARN, "can't resolve cell name");
return(-1);
}