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>
This commit is contained in:
parent
0cb9f3b505
commit
fdf045317f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user