mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Backout previous commit. It was a mistake.
This commit is contained in:
parent
647b247c34
commit
8dc74b6288
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56465
@ -300,7 +300,7 @@ make_dev(struct cdevsw *devsw, int minor, uid_t uid, gid_t gid, int perms, char
|
||||
|
||||
dev = makedev(devsw->d_maj, minor);
|
||||
va_start(ap, fmt);
|
||||
i = kvprintf(fmt, NULL, dev->si_name, SPECNAMELEN + 1, ap);
|
||||
i = kvprintf(fmt, NULL, dev->si_name, 32, ap);
|
||||
dev->si_name[i] = '\0';
|
||||
va_end(ap);
|
||||
dev->si_devsw = devsw;
|
||||
|
Loading…
Reference in New Issue
Block a user