diff options
author | bp <bp@FreeBSD.org> | 2000-01-23 15:47:46 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-01-23 15:47:46 +0000 |
commit | 0f32b2a255bdc5f322d623b3fbde6c81ba91a1f9 (patch) | |
tree | 9596a6b250cb8a5aa8838e63d01f010d539ce9f3 /sys/kern | |
parent | 535c8837a5ebc2acafd8e097dee06522ce021bf6 (diff) | |
download | FreeBSD-src-0f32b2a255bdc5f322d623b3fbde6c81ba91a1f9.zip FreeBSD-src-0f32b2a255bdc5f322d623b3fbde6c81ba91a1f9.tar.gz |
Backout previous commit. It was a mistake.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index ac153083..d6116f7 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -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; |