printf -> kprintf, sprintf -> ksprintf

This commit is contained in:
christos 1996-10-10 22:39:39 +00:00
parent 5d85fa8122
commit c514106b9d
3 changed files with 23 additions and 23 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_rrip.c,v 1.14 1996/09/30 15:50:19 ws Exp $ */
/* $NetBSD: cd9660_rrip.c,v 1.15 1996/10/10 22:39:39 christos Exp $ */
/*-
* Copyright (c) 1993, 1994
@ -107,7 +107,7 @@ cd9660_rrip_defattr(v, ana)
struct iso_directory_record *isodir = v;
/* But this is a required field! */
printf("RRIP without PX field?\n");
kprintf("RRIP without PX field?\n");
cd9660_defattr(isodir, ana->inop, NULL);
}
@ -194,7 +194,7 @@ cd9660_rrip_slink(v, ana)
inbuf = pcomp->name;
break;
default:
printf("RRIP with incorrect flags?");
kprintf("RRIP with incorrect flags?");
wlen = ana->maxlen + 1;
break;
}
@ -267,7 +267,7 @@ cd9660_rrip_altname(v, ana)
break;
default:
printf("RRIP with incorrect NM flags?\n");
kprintf("RRIP with incorrect NM flags?\n");
wlen = ana->maxlen + 1;
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_vfsops.c,v 1.20 1996/02/09 21:32:08 christos Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.21 1996/10/10 22:39:40 christos Exp $ */
/*-
* Copyright (c) 1994
@ -542,7 +542,7 @@ cd9660_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp)
int error;
#ifdef ISOFS_DBG
printf("fhtovp: ino %d, start %ld\n",
kprintf("fhtovp: ino %d, start %ld\n",
ifhp->ifid_ino, ifhp->ifid_start);
#endif
@ -638,14 +638,14 @@ cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
lbn = lblkno(imp, ino);
if (lbn >= imp->volume_space_size) {
vput(vp);
printf("fhtovp: lbn exceed volume space %d\n", lbn);
kprintf("fhtovp: lbn exceed volume space %d\n", lbn);
return (ESTALE);
}
off = blkoff(imp, ino);
if (off + ISO_DIRECTORY_RECORD_SIZE > imp->logical_block_size) {
vput(vp);
printf("fhtovp: crosses block boundary %d\n",
kprintf("fhtovp: crosses block boundary %d\n",
off + ISO_DIRECTORY_RECORD_SIZE);
return (ESTALE);
}
@ -656,7 +656,7 @@ cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
if (error) {
vput(vp);
brelse(bp);
printf("fhtovp: bread error %d\n",error);
kprintf("fhtovp: bread error %d\n",error);
return (error);
}
isodir = (struct iso_directory_record *)(bp->b_data + off);
@ -666,7 +666,7 @@ cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
vput(vp);
if (bp != 0)
brelse(bp);
printf("fhtovp: directory crosses block boundary %d[off=%d/len=%d]\n",
kprintf("fhtovp: directory crosses block boundary %d[off=%d/len=%d]\n",
off +isonum_711(isodir->length), off,
isonum_711(isodir->length));
return (ESTALE);
@ -677,7 +677,7 @@ cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
isonum_711(isodir->ext_attr_length) != ifhp->ifid_start) {
if (bp != 0)
brelse(bp);
printf("fhtovp: file start miss %d vs %d\n",
kprintf("fhtovp: file start miss %d vs %d\n",
isonum_733(isodir->extent) + isonum_711(isodir->ext_attr_length),
ifhp->ifid_start);
return (ESTALE);
@ -818,7 +818,7 @@ cd9660_vptofh(vp, fhp)
ifhp->ifid_start = ip->iso_start;
#ifdef ISOFS_DBG
printf("vptofh: ino %d, start %ld\n",
kprintf("vptofh: ino %d, start %ld\n",
ifhp->ifid_ino,ifhp->ifid_start);
#endif
return 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_vnops.c,v 1.35 1996/09/30 15:52:00 ws Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.36 1996/10/10 22:39:41 christos Exp $ */
/*-
* Copyright (c) 1994
@ -304,7 +304,7 @@ int
cd9660_ioctl(v)
void *v;
{
printf("You did ioctl for isofs !!\n");
kprintf("You did ioctl for isofs !!\n");
return (ENOTTY);
}
@ -747,7 +747,7 @@ start:
if (ip->i_lockholder != 0)
panic("lockholder (%d) != 0", ip->i_lockholder);
if (p && p->p_pid == 0)
printf("locking by process 0\n");
kprintf("locking by process 0\n");
if (p)
ip->i_lockholder = p->p_pid;
else
@ -838,7 +838,7 @@ int
cd9660_print(v)
void *v;
{
printf("tag VT_ISOFS, isofs vnode\n");
kprintf("tag VT_ISOFS, isofs vnode\n");
return (0);
}