diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2003-06-24 22:20:06 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2003-06-24 22:20:06 +0000 |
| commit | ba10c47105954ce0bfb13fa8eea550a1ec206ba2 (patch) | |
| tree | 0bc14416043e0029e01817027ddf0ad36ade58b3 /lib/libc/gen/ttyname.c | |
| parent | 4119b6e581945a59c3b75b0c9cc85794aef11912 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/ttyname.c')
| -rw-r--r-- | lib/libc/gen/ttyname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/ttyname.c b/lib/libc/gen/ttyname.c index 22f74883dda3..cb5f922390a3 100644 --- a/lib/libc/gen/ttyname.c +++ b/lib/libc/gen/ttyname.c @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -static char buf[sizeof(_PATH_DEV) + MAXNAMLEN] = _PATH_DEV; +static char buf[sizeof(_PATH_DEV) + MAXNAMLEN]; static char *oldttyname(int, struct stat *); static char *ttyname_threaded(int fd); static char *ttyname_unthreaded(int fd); |
