summaryrefslogtreecommitdiff
path: root/src/uvt_cdev.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-03-05 01:25:01 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-03-05 01:25:01 +0100
commitfdf045317f91fe15f23b97a3dc405aeb0c23d117 (patch)
treeeeb9535a432c73d616c7fac359ca67bcaa419298 /src/uvt_cdev.c
parent0cb9f3b5057bdb842a451e8cda5b7862470e71a2 (diff)
uvt: cdev: fix sending DEVNAME parameter
We used an incorrectly formatted arguments as we mixed up two local variables. Use the correct DEVNAME format now. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'src/uvt_cdev.c')
-rw-r--r--src/uvt_cdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uvt_cdev.c b/src/uvt_cdev.c
index bc5a4f7..e63bcf0 100644
--- a/src/uvt_cdev.c
+++ b/src/uvt_cdev.c
@@ -320,7 +320,7 @@ static int uvt_cdev_init(struct uvt_cdev *cdev, const char *name,
if (ret <= 0)
return llog_ENOMEM(cdev);
- dev_info_argv[0] = name;
+ dev_info_argv[0] = nparam;
memset(&ci, 0, sizeof(ci));
ci.dev_major = major;
ci.dev_minor = minor;