Module Name: src Committed By: pooka Date: Fri Nov 27 15:58:39 UTC 2009
Modified Files: src/sys/fs/hfs: libhfs.c Log Message: Don't spam if mount fails due to invalid file system. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/fs/hfs/libhfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/hfs/libhfs.c diff -u src/sys/fs/hfs/libhfs.c:1.8 src/sys/fs/hfs/libhfs.c:1.9 --- src/sys/fs/hfs/libhfs.c:1.8 Tue Jul 14 21:12:18 2009 +++ src/sys/fs/hfs/libhfs.c Fri Nov 27 15:58:39 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: libhfs.c,v 1.8 2009/07/14 21:12:18 apb Exp $ */ +/* $NetBSD: libhfs.c,v 1.9 2009/11/27 15:58:39 pooka Exp $ */ /*- * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc. @@ -47,7 +47,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: libhfs.c,v 1.8 2009/07/14 21:12:18 apb Exp $"); +__KERNEL_RCSID(0, "$NetBSD: libhfs.c,v 1.9 2009/11/27 15:58:39 pooka Exp $"); #include "libhfs.h" @@ -226,7 +226,9 @@ break; default: - HFS_LIBERR("unrecognized volume format"); + /* HFS_LIBERR("unrecognized volume format"); */ + goto error; + break; }