summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-10-20 07:00:40 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-10-20 07:00:40 +0000
commit84732d348d8044646066927ec91b0879aabaceb7 (patch)
treed9928969a772d5cc9022d256c247a527426bd4a3 /lib
parentf39b84b2cfb701d882d870be0d217454dd8e8df5 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/create_chunk.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index aea41e2680ca..66111ed940e2 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: create_chunk.c,v 1.21.2.2 1995/10/13 08:19:09 jkh Exp $
+ * $Id: create_chunk.c,v 1.21.2.3 1995/10/14 09:29:58 jkh Exp $
*
*/
@@ -319,8 +319,6 @@ MakeDev(struct chunk *c1, char *path)
min = unit * 8 + 65536 * slice + part;
sprintf(buf, "%s/r%s", path, c1->name);
unlink(buf);
- if (isDebug())
- msgDebug("MakeDev: Attempting to mknod: %s\n", buf);
if (mknod(buf, S_IFCHR|0640, makedev(cmaj,min)) == -1) {
msgDebug("mknod of %s returned failure status!\n", buf);
return 0;
@@ -328,8 +326,6 @@ MakeDev(struct chunk *c1, char *path)
if (*buf2) {
sprintf(buf, "%s/r%s", path, buf2);
unlink(buf);
- if (isDebug())
- msgDebug("MakeDev: Attempting to mknod: %s\n", buf);
if (mknod(buf, S_IFCHR|0640, makedev(cmaj,min)) == -1) {
msgDebug("mknod of %s returned failure status!\n", buf);
return 0;
@@ -337,8 +333,6 @@ MakeDev(struct chunk *c1, char *path)
}
sprintf(buf, "%s/%s", path, c1->name);
unlink(buf);
- if (isDebug())
- msgDebug("MakeDev: Attempting to mknod: %s\n", buf);
if (mknod(buf, S_IFBLK|0640, makedev(bmaj,min)) == -1) {
msgDebug("mknod of %s returned failure status!\n", buf);
return 0;