Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/v7fs Remove suspicious warning message.



details:   https://anonhg.NetBSD.org/src/rev/763b740d4183
branches:  trunk
changeset: 768089:763b740d4183
user:      uch <uch%NetBSD.org@localhost>
date:      Mon Aug 08 11:42:30 2011 +0000

description:
Remove suspicious warning message.

diffstat:

 sys/fs/v7fs/v7fs_io_user.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b7ed4bd16f8e -r 763b740d4183 sys/fs/v7fs/v7fs_io_user.c
--- a/sys/fs/v7fs/v7fs_io_user.c        Mon Aug 08 11:27:44 2011 +0000
+++ b/sys/fs/v7fs/v7fs_io_user.c        Mon Aug 08 11:42:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: v7fs_io_user.c,v 1.3 2011/08/03 16:21:52 dholland Exp $        */
+/*     $NetBSD: v7fs_io_user.c,v 1.4 2011/08/08 11:42:30 uch Exp $     */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: v7fs_io_user.c,v 1.3 2011/08/03 16:21:52 dholland Exp $");
+__RCSID("$NetBSD: v7fs_io_user.c,v 1.4 2011/08/08 11:42:30 uch Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -88,7 +88,6 @@
        local.addr = mmap(NULL, local.size, PROT_READ | PROT_WRITE | PROT_NONE,
            MAP_FILE | MAP_SHARED/*writeback*/, local.fd,  0);
        if (local.addr == MAP_FAILED) {
-               warn("mmap failed. use direct I/O.");
                local.addr = 0;
                p->io.read = read_sector;
                p->io.write = write_sector;



Home | Main Index | Thread Index | Old Index