diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-03-06 21:41:58 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-03-06 21:41:58 +0000 |
commit | 8469a07f6c5517718d15c9929a28f55c1713803a (patch) | |
tree | a5b58d3507d26bf7f1fc183794eeb545c0e288cb /sys | |
parent | 72186bd1cb76448f9733359e75b4311c9b66743d (diff) |
fix function name in error/debug messages; ok marco
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/softraid_crypto.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <marco@peereboom.us> * Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org> @@ -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); |