Backout previous kprintf change.
This commit is contained in:
parent
dcf74c0b02
commit
53e42f3487
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tty_43.c,v 1.6 1996/10/10 17:51:52 christos Exp $ */
|
||||
/* $NetBSD: tty_43.c,v 1.7 1996/10/13 00:46:49 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1991, 1993
|
||||
@ -221,7 +221,7 @@ ttcompat(tp, com, data, flag, p)
|
||||
case TIOCLGET:
|
||||
*(int *)data = ttcompatgetflags(tp)>>16;
|
||||
if (ttydebug)
|
||||
kprintf("CLGET: returning %x\n", *(int *)data);
|
||||
printf("CLGET: returning %x\n", *(int *)data);
|
||||
break;
|
||||
|
||||
case OTIOCGETD:
|
||||
@ -320,7 +320,7 @@ ttcompatgetflags(tp)
|
||||
SET(flags, DECCTQ);
|
||||
SET(flags, ISSET(lflag, ECHO|TOSTOP|FLUSHO|PENDIN|NOFLSH));
|
||||
if (ttydebug)
|
||||
kprintf("getflags: %x\n", flags);
|
||||
printf("getflags: %x\n", flags);
|
||||
return (flags);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hpux_util.h,v 1.4 1996/10/10 17:51:53 christos Exp $ */
|
||||
/* $NetBSD: hpux_util.h,v 1.5 1996/10/13 00:46:50 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Christos Zoulas
|
||||
@ -41,7 +41,7 @@ extern const char hpux_emul_path[];
|
||||
CHECK_ALT_CREAT(p, sgp, hpux_emul_path, path)
|
||||
|
||||
#ifdef DEBUG_HPUX
|
||||
#define DPRINTF(a) kprintf a;
|
||||
#define DPRINTF(a) printf a;
|
||||
#else
|
||||
#define DPRINTF(a)
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_socksys.c,v 1.6 1996/10/10 17:51:54 christos Exp $ */
|
||||
/* $NetBSD: ibcs2_socksys.c,v 1.7 1996/10/13 00:46:51 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Scott Bartram
|
||||
@ -129,7 +129,7 @@ ibcs2_socksys(p, v, retval)
|
||||
return sys_setitimer(p, realargs + 1, retval);
|
||||
|
||||
default:
|
||||
kprintf("socksys unknown %08x %08x %08x %08x %08x %08x %08x\n",
|
||||
printf("socksys unknown %08x %08x %08x %08x %08x %08x %08x\n",
|
||||
realargs[0], realargs[1], realargs[2], realargs[3],
|
||||
realargs[4], realargs[5], realargs[6]);
|
||||
return EINVAL;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_util.h,v 1.3 1996/10/10 17:51:55 christos Exp $ */
|
||||
/* $NetBSD: ibcs2_util.h,v 1.4 1996/10/13 00:46:52 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Christos Zoulas
|
||||
@ -36,7 +36,7 @@
|
||||
#include <compat/common/compat_util.h>
|
||||
|
||||
#ifdef DEBUG_IBCS2
|
||||
#define DPRINTF(a) kprintf a;
|
||||
#define DPRINTF(a) printf a;
|
||||
#else
|
||||
#define DPRINTF(a)
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: osf1_ioctl.c,v 1.4 1996/10/10 17:51:58 christos Exp $ */
|
||||
/* $NetBSD: osf1_ioctl.c,v 1.5 1996/10/13 00:46:53 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
|
||||
@ -116,7 +116,7 @@ osf1_sys_ioctl(p, v, retval)
|
||||
}
|
||||
#ifdef SYSCALL_DEBUG
|
||||
if (scdebug)
|
||||
kprintf(
|
||||
printf(
|
||||
"OSF/1 IOCTL: group = %c, cmd = %d, len = %d, dir = %s\n",
|
||||
group, cmd, len, dirstr);
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: osf1_misc.c,v 1.10 1996/10/10 17:51:59 christos Exp $ */
|
||||
/* $NetBSD: osf1_misc.c,v 1.11 1996/10/13 00:46:53 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
|
||||
@ -96,7 +96,7 @@ osf1_sys_open(p, v, retval)
|
||||
|
||||
if (scdebug &&
|
||||
copyinstr(SCARG(uap, path), pnbuf, sizeof pnbuf, NULL) == 0)
|
||||
kprintf("osf1_open: open: %s\n", pnbuf);
|
||||
printf("osf1_open: open: %s\n", pnbuf);
|
||||
#endif
|
||||
|
||||
SCARG(&a, path) = SCARG(uap, path);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_fs.c,v 1.5 1996/10/10 17:52:02 christos Exp $ */
|
||||
/* $NetBSD: ultrix_fs.c,v 1.6 1996/10/13 00:46:55 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995
|
||||
@ -182,8 +182,8 @@ make_ultrix_mntent(sp, tem)
|
||||
strncpy(tem->ufsd_devname, sp->f_mntfromname, ULTRIX_MAXPATHLEN);
|
||||
#if 0
|
||||
/* In NetBSD-1.1, filesystem type is unused and always 0 */
|
||||
kprintf("mntent: %s type %d\n", tem->ufsd_devname, tem->ufsd_fstype);
|
||||
kprintf("mntent: %s tot %d free %d user%d\n",
|
||||
printf("mntent: %s type %d\n", tem->ufsd_devname, tem->ufsd_fstype);
|
||||
printf("mntent: %s tot %d free %d user%d\n",
|
||||
tem->ufsd_devname, sp->f_blocks, sp->f_bfree, sp->f_bavail);
|
||||
#endif
|
||||
}
|
||||
@ -393,7 +393,7 @@ ultrix_sys_mount(p, v, retval)
|
||||
return(error);
|
||||
if (strcmp(fsname, "/") == 0) {
|
||||
SCARG(&nuap, flags) |= MNT_UPDATE;
|
||||
kprintf("COMPAT_ULTRIX: mount with MNT_UPDATE on %s\n",
|
||||
printf("COMPAT_ULTRIX: mount with MNT_UPDATE on %s\n",
|
||||
fsname);
|
||||
}
|
||||
} else if (otype == ULTRIX_FSTYPE_NFS) {
|
||||
@ -413,7 +413,7 @@ ultrix_sys_mount(p, v, retval)
|
||||
* compatibility on 4.3style sockaddrs here.
|
||||
*/
|
||||
if ((error = copyin(una.addr, &osa, sizeof osa)) != 0) {
|
||||
kprintf("ultrix_mount: nfs copyin osa\n");
|
||||
printf("ultrix_mount: nfs copyin osa\n");
|
||||
return (error);
|
||||
}
|
||||
sap->sin_family = (u_char)osa.sin_family;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_ioctl.c,v 1.6 1996/10/10 17:52:03 christos Exp $ */
|
||||
/* $NetBSD: ultrix_ioctl.c,v 1.7 1996/10/13 00:46:55 christos Exp $ */
|
||||
/* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */
|
||||
|
||||
/*
|
||||
@ -592,7 +592,7 @@ ultrix_sys_ioctl(p, v, retval)
|
||||
#else
|
||||
result= (*ctl)(fp, ULTRIX_TCSETA - SCARG(uap, com) + TIOCSETA,
|
||||
(caddr_t)&bts, p);
|
||||
kprintf("ultrix TCSETA %lx returns %d\n",
|
||||
printf("ultrix TCSETA %lx returns %d\n",
|
||||
ULTRIX_TCSETA - SCARG(uap, com), result);
|
||||
return result;
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_misc.c,v 1.26 1996/10/10 17:52:04 christos Exp $ */
|
||||
/* $NetBSD: ultrix_misc.c,v 1.27 1996/10/13 00:46:56 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995
|
||||
@ -264,7 +264,7 @@ ultrix_sys_select(p, v, retval)
|
||||
#ifdef DEBUG
|
||||
/* Ultrix clients sometimes give negative timeouts? */
|
||||
if (atv.tv_sec < 0 || atv.tv_usec < 0)
|
||||
kprintf("ultrix select( %ld, %ld): negative timeout\n",
|
||||
printf("ultrix select( %ld, %ld): negative timeout\n",
|
||||
atv.tv_sec, atv.tv_usec);
|
||||
/*tvp = (timeval *)STACKGAPBASE;*/
|
||||
#endif
|
||||
@ -272,7 +272,7 @@ ultrix_sys_select(p, v, retval)
|
||||
}
|
||||
error = sys_select(p, (void*) uap, retval);
|
||||
if (error == EINVAL)
|
||||
kprintf("ultrix select: bad args?\n");
|
||||
printf("ultrix select: bad args?\n");
|
||||
|
||||
done:
|
||||
return error;
|
||||
@ -573,7 +573,7 @@ ultrix_sys_sigreturn(p, v, retval)
|
||||
struct ultrix_sys_sigcleanup_args *uap = v;
|
||||
|
||||
#ifdef DEBUG
|
||||
kprintf("ultrix sigreturn\n");
|
||||
printf("ultrix sigreturn\n");
|
||||
#endif
|
||||
return sys_sigreturn(p, (struct sys_sigreturn_args *)uap, retval);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user