diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-07 16:56:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-07 16:56:40 +0000 |
commit | 2e500def7649393d7dafc6420baa65567206cfa2 (patch) | |
tree | 40a45a04317909b65a59200a79730879bd14ea7c /cpukit/libcsupport/src | |
parent | 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-2e500def7649393d7dafc6420baa65567206cfa2.tar.bz2 |
2008-11-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/ttyname.c: Change third parameter of ttyname to be
size_t instead of int.
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r-- | cpukit/libcsupport/src/ttyname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/ttyname.c b/cpukit/libcsupport/src/ttyname.c index d483349235..59ea29be6e 100644 --- a/cpukit/libcsupport/src/ttyname.c +++ b/cpukit/libcsupport/src/ttyname.c @@ -59,9 +59,9 @@ static char ttyname_buf[sizeof (_PATH_DEV) + MAXNAMLEN] = _PATH_DEV; * ttyname_r() - POSIX 1003.1b 4.7.2 - Demetermine Terminal Device Name */ int ttyname_r( - int fd, - char *name, - int namesize + int fd, + char *name, + size_t namesize ) { struct stat sb; |