DEVEL15-bubasics-prototype-getsize-correctly-20090316
authorDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 17:17:27 +0000 (17:17 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 17:17:27 +0000 (17:17 +0000)
LICENSE IPL10

fix prototype of getSize op

(cherry picked from commit 8377e2e34d750ef1318969f4a59b002920dc2d70)

src/bubasics/butm.p.h

index 1c202f4..6827dbe 100644 (file)
@@ -48,7 +48,7 @@ struct butm_tapeInfo {
        afs_int32(*writeFileEnd) (struct butm_tapeInfo *);
        afs_int32(*writeEOT) (struct butm_tapeInfo *);
        afs_int32(*setSize) (struct butm_tapeInfo *, afs_uint32);
-       afs_int32(*getSize) (struct butm_tapeInfo *, afs_uint32);
+       afs_int32(*getSize) (struct butm_tapeInfo *, afs_uint32 *);
     } ops;
     char name[BU_MAXTAPELEN];
     afs_int32 position;                /* current position of tape */