From c9d49f70e23f9493ad129d0b81e4d209801434a5 Mon Sep 17 00:00:00 2001 From: Alex Hornung Date: Mon, 27 Jun 2011 17:48:24 +0100 Subject: [PATCH] dm - fix typo in previous commit --- sys/dev/disk/dm/dm_pdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys/dev/disk/dm/dm_pdev.c b/sys/dev/disk/dm/dm_pdev.c index a595b9b..3571b3a 100644 --- a/sys/dev/disk/dm/dm_pdev.c +++ b/sys/dev/disk/dm/dm_pdev.c @@ -80,7 +80,7 @@ dm_dk_lookup(const char *dev_name, struct vnode **vpp) error = vn_open(&nd, NULL, FREAD|FWRITE, 0); if (error) { - nlookup_done(&hd); + nlookup_done(&nd); return error; } -- 1.7.7.2