budb-ol_verify-20070706
authorMarcus Watts <mdw@umich.edu>
Fri, 6 Jul 2007 12:37:01 +0000 (12:37 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 6 Jul 2007 12:37:01 +0000 (12:37 +0000)
FIXES 53210

fixes a missing pointer declaration that would presumably
break on 64-bit architectures.

src/budb/ol_verify.c

index 2bb8533..7af3276 100644 (file)
@@ -303,9 +303,10 @@ TypeName(index)
     return (typeName[index]);
 }
 
-getDumpID(ut, tapePtr, dumpID)
-     struct tape *tapePtr;
-     afs_int32 *dumpID;
+int
+getDumpID(struct ubik_trans *ut,
+    struct tape *tapePtr,
+    afs_int32 *dumpID)
 {
     struct dump d;
     afs_int32 code;
@@ -314,6 +315,7 @@ getDumpID(ut, tapePtr, dumpID)
     code = dbread(ut, ntohl(tapePtr->dump), &d, sizeof(d));
     if (!code)
        *dumpID = ntohl(d.id);
+    return code;
 }
 
 /* ------------------------------------