mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
Remove some rather useless debugging messages.
This commit is contained in:
parent
a7939d5aa6
commit
d28a7b994c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14784
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.40 1996/03/02 07:31:51 jkh Exp $
|
||||
* $Id: devices.c,v 1.41 1996/03/18 15:27:46 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -116,21 +116,18 @@ new_device(char *name)
|
||||
Boolean
|
||||
dummyInit(Device *dev)
|
||||
{
|
||||
msgDebug("Dummy init called for %s\n", dev->name);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int
|
||||
dummyGet(Device *dev, char *dist, Boolean probe)
|
||||
{
|
||||
msgDebug("Dummy get called for %s\n", dev->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Boolean
|
||||
dummyClose(Device *dev, int fd)
|
||||
{
|
||||
msgDebug("Dummy [default] close called for %s with fd of %d.\n", dev->name, fd);
|
||||
if (!close(fd))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
@ -139,7 +136,6 @@ dummyClose(Device *dev, int fd)
|
||||
void
|
||||
dummyShutdown(Device *dev)
|
||||
{
|
||||
msgDebug("Dummy shutdown called for %s\n", dev->name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.40 1996/03/02 07:31:51 jkh Exp $
|
||||
* $Id: devices.c,v 1.41 1996/03/18 15:27:46 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -116,21 +116,18 @@ new_device(char *name)
|
||||
Boolean
|
||||
dummyInit(Device *dev)
|
||||
{
|
||||
msgDebug("Dummy init called for %s\n", dev->name);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int
|
||||
dummyGet(Device *dev, char *dist, Boolean probe)
|
||||
{
|
||||
msgDebug("Dummy get called for %s\n", dev->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Boolean
|
||||
dummyClose(Device *dev, int fd)
|
||||
{
|
||||
msgDebug("Dummy [default] close called for %s with fd of %d.\n", dev->name, fd);
|
||||
if (!close(fd))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
@ -139,7 +136,6 @@ dummyClose(Device *dev, int fd)
|
||||
void
|
||||
dummyShutdown(Device *dev)
|
||||
{
|
||||
msgDebug("Dummy shutdown called for %s\n", dev->name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.40 1996/03/02 07:31:51 jkh Exp $
|
||||
* $Id: devices.c,v 1.41 1996/03/18 15:27:46 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -116,21 +116,18 @@ new_device(char *name)
|
||||
Boolean
|
||||
dummyInit(Device *dev)
|
||||
{
|
||||
msgDebug("Dummy init called for %s\n", dev->name);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int
|
||||
dummyGet(Device *dev, char *dist, Boolean probe)
|
||||
{
|
||||
msgDebug("Dummy get called for %s\n", dev->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Boolean
|
||||
dummyClose(Device *dev, int fd)
|
||||
{
|
||||
msgDebug("Dummy [default] close called for %s with fd of %d.\n", dev->name, fd);
|
||||
if (!close(fd))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
@ -139,7 +136,6 @@ dummyClose(Device *dev, int fd)
|
||||
void
|
||||
dummyShutdown(Device *dev)
|
||||
{
|
||||
msgDebug("Dummy shutdown called for %s\n", dev->name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user