restore-20071016
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 16 Oct 2007 17:55:10 +0000 (17:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 16 Oct 2007 17:55:10 +0000 (17:55 +0000)
FIXES 74531

afs_com_err() was called without specifying the error code.

src/bucoord/restore.c

index a06bc65..f4d743e 100644 (file)
@@ -224,7 +224,7 @@ bc_Restorer(aindex)
            code = bcdb_FindDumpByID(dumpTaskPtr->parentDumpID, dumpDescr);
            if (code)
              {
-               afs_com_err(whoami, "Couldn't look up info for dump %d\n",
+               afs_com_err(whoami, code, "Couldn't look up info for dump %d\n",
                        dumpTaskPtr->parentDumpID);
                continue;
              }