if (pp == 0) {
/* There are no unlocked buffers that don't need to be written to the disk. */
ubik_print("Ubik: Internal Error: Unable to find free buffer in ubik cache\n");
- return (struct buffer *) 0;
+ return NULL;
}
/* Now fill in the header. */
afs_int32 fid; {
struct buffer *tb;
- if ((tb = newslot(dbase, fid, page)) == 0) return (char *) 0;
+ if ((tb = newslot(dbase, fid, page)) == 0) return NULL;
tb->lockers++;
memset(tb->data, 0, PAGESIZE);
return tb->data;