mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use %s when calling make_dev with a string pointer. This makes
clang happy. MFC after: 2 weeks
This commit is contained in:
parent
d272a5b786
commit
5e2b8fb7ed
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count)
|
|||
if (count != 1)
|
||||
panic("cdev_add: Unsupported count: %d", count);
|
||||
cdev->cdev = make_dev(&linuxcdevsw, MINOR(dev), 0, 0, 0700,
|
||||
kobject_name(&cdev->kobj));
|
||||
"%s", kobject_name(&cdev->kobj));
|
||||
cdev->dev = dev;
|
||||
cdev->cdev->si_drv1 = cdev;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue