diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-03-05 01:25:01 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-03-05 01:25:01 +0100 |
commit | fdf045317f91fe15f23b97a3dc405aeb0c23d117 (patch) | |
tree | eeb9535a432c73d616c7fac359ca67bcaa419298 /src | |
parent | 0cb9f3b5057bdb842a451e8cda5b7862470e71a2 (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')
-rw-r--r-- | src/uvt_cdev.c | 2 |
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; |