summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fifolog/lib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2011-02-28 14:48:00 +0000
committerphk <phk@FreeBSD.org>2011-02-28 14:48:00 +0000
commitacdeb0f1a28809193a08471826f9f4006884d40a (patch)
treed25665473892cd2b73ad7c9f230601781d41c291 /usr.sbin/fifolog/lib
parent3c9e9703684f6dfead092efb53cd3f06397f8e48 (diff)
downloadFreeBSD-src-acdeb0f1a28809193a08471826f9f4006884d40a.zip
FreeBSD-src-acdeb0f1a28809193a08471826f9f4006884d40a.tar.gz
Type-change to ssize_t to (app|pl)ease ppc platform.
Diffstat (limited to 'usr.sbin/fifolog/lib')
-rw-r--r--usr.sbin/fifolog/lib/fifolog_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fifolog/lib/fifolog_int.c b/usr.sbin/fifolog/lib/fifolog_int.c
index f980f19..9d3b437 100644
--- a/usr.sbin/fifolog/lib/fifolog_int.c
+++ b/usr.sbin/fifolog/lib/fifolog_int.c
@@ -56,7 +56,7 @@ static const char *
fifolog_int_open_i(struct fifolog_file *f, const char *fname, int mode)
{
struct stat st;
- unsigned u;
+ ssize_t u;
int i;
f->fd = open(fname, mode ? O_RDWR : O_RDONLY);
OpenPOWER on IntegriCloud