From 8469a07f6c5517718d15c9929a28f55c1713803a Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Sun, 6 Mar 2011 21:41:58 +0000 Subject: fix function name in error/debug messages; ok marco --- sys/dev/softraid_crypto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index e1d0c236b94..8d6f11585ae 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.62 2011/01/12 20:48:34 marco Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.63 2011/03/06 21:41:57 stsp Exp $ */ /* * Copyright (c) 2007 Marco Peereboom * Copyright (c) 2008 Hans-Joerg Hoexer @@ -835,12 +835,12 @@ sr_crypto_read_key_disk(struct sr_discipline *sd, dev_t dev) /* Open device. */ if (bdevvp(dev, &vn)) { - printf("%s:, sr_create_key_disk: can't allocate vnode\n", + printf("%s:, sr_read_key_disk: can't allocate vnode\n", DEVNAME(sc)); goto done; } if (VOP_OPEN(vn, FREAD | FWRITE, NOCRED, curproc)) { - DNPRINTF(SR_D_META,"%s: sr_create_key_disk cannot open %s\n", + DNPRINTF(SR_D_META,"%s: sr_read_key_disk cannot open %s\n", DEVNAME(sc), devname); vput(vn); goto done; @@ -851,7 +851,7 @@ sr_crypto_read_key_disk(struct sr_discipline *sd, dev_t dev) part = DISKPART(dev); if (VOP_IOCTL(vn, DIOCGDINFO, (caddr_t)&label, FREAD, NOCRED, curproc)) { - DNPRINTF(SR_D_META, "%s: sr_create_key_disk ioctl failed\n", + DNPRINTF(SR_D_META, "%s: sr_read_key_disk ioctl failed\n", DEVNAME(sc)); VOP_CLOSE(vn, FREAD | FWRITE, NOCRED, curproc); vput(vn); -- cgit v1.2.3