Commit
10441428634e6f474457a1fbf38ea693279d1ad1 used a 1.5-only
function, so did not build on 1.4 (sorry). Fix that.
Reviewed-on: http://gerrit.openafs.org/652
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
return EIO;
}
close(fd);
- (void)afs_snprintf(headername, sizeof headername, VFORMAT, afs_printable_uint32_lu(volumeId));
+ (void)afs_snprintf(headername, sizeof headername, VFORMAT, afs_cast_uint32(volumeId));
(void)afs_snprintf(oldpath, sizeof oldpath, "%s/%s", pname, headername);
if (unlink(oldpath) < 0) {
Log("1 namei_ConvertROtoRWvolume: Couldn't unlink RO header, error = %d\n", errno);