Module Name: src Committed By: pooka Date: Thu Apr 30 17:41:41 UTC 2009
Modified Files: src/sys/rump/librump/rumpvfs: rumpblk.c Log Message: print succinctly To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/rump/librump/rumpvfs/rumpblk.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/rump/librump/rumpvfs/rumpblk.c diff -u src/sys/rump/librump/rumpvfs/rumpblk.c:1.21 src/sys/rump/librump/rumpvfs/rumpblk.c:1.22 --- src/sys/rump/librump/rumpvfs/rumpblk.c:1.21 Mon Apr 27 18:36:43 2009 +++ src/sys/rump/librump/rumpvfs/rumpblk.c Thu Apr 30 17:41:41 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpblk.c,v 1.21 2009/04/27 18:36:43 pooka Exp $ */ +/* $NetBSD: rumpblk.c,v 1.22 2009/04/30 17:41:41 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rumpblk.c,v 1.21 2009/04/27 18:36:43 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rumpblk.c,v 1.22 2009/04/30 17:41:41 pooka Exp $"); #include <sys/param.h> #include <sys/buf.h> @@ -264,9 +264,8 @@ } else { randstate = arc4random(); /* XXX: not enough entropy */ } - printf("rumpblk: FAULT INJECTION ACTIVE! every %d out of" - " %d I/O will fail. key %u\n", blkfail, BLKFAIL_MAX, - randstate); + printf("rumpblk: FAULT INJECTION ACTIVE! fail %d/%d. " + "seed %u\n", blkfail, BLKFAIL_MAX, randstate); } else { blkfail = 0; }