summaryrefslogtreecommitdiff
path: root/lib/libpuffs
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2008-12-13 11:48:46 +0000
committerdsl <dsl@NetBSD.org>2008-12-13 11:48:46 +0000
commitabd4a7f6d03fbff92e6a710a634ab8c19e63d7cb (patch)
treec436fdbf98d1bfaa8535adbee8c733326a90b9db /lib/libpuffs
parentb5413f0358fe7db0236b4d6fc266d5a4585b05a6 (diff)
Change type of 'n' to 'int' so that it can be printed with %d.
The domain of the value is [-1..sizeof (int)] so a type of 'int' is fine.
Diffstat (limited to 'lib/libpuffs')
-rw-r--r--lib/libpuffs/puffs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpuffs/puffs.c b/lib/libpuffs/puffs.c
index b11cbe037db..05efc18e073 100644
--- a/lib/libpuffs/puffs.c
+++ b/lib/libpuffs/puffs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs.c,v 1.95 2008/12/12 19:56:12 pooka Exp $ */
+/* $NetBSD: puffs.c,v 1.96 2008/12/13 11:48:46 dsl Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: puffs.c,v 1.95 2008/12/12 19:56:12 pooka Exp $");
+__RCSID("$NetBSD: puffs.c,v 1.96 2008/12/13 11:48:46 dsl Exp $");
#endif /* !lint */
#include <sys/param.h>
@@ -409,7 +409,7 @@ puffs_setback(struct puffs_cc *pcc, int whatback)
int
puffs_daemon(struct puffs_usermount *pu, int nochdir, int noclose)
{
- ssize_t n;
+ int n;
int parent, value, fd;
if (pipe(pu->pu_dpipe) == -1)