summaryrefslogtreecommitdiff
path: root/bin/pwd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-01 18:08:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-01 18:08:49 +0000
commitd72f2a60c25cb4c47db52de5270d969112126aad (patch)
tree6f37c5265e794cfe0dd55757ae4b7280786d6ddc /bin/pwd
parentd950d807013483ae1fd7fa7c540c321f6dad80c2 (diff)
make lint happy
Diffstat (limited to 'bin/pwd')
-rw-r--r--bin/pwd/pwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c
index bca9281a279..b02ea0a019f 100644
--- a/bin/pwd/pwd.c
+++ b/bin/pwd/pwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.c,v 1.9 2003/06/02 23:32:09 millert Exp $ */
+/* $OpenBSD: pwd.c,v 1.10 2006/04/01 18:08:48 deraadt Exp $ */
/* $NetBSD: pwd.c,v 1.7 1995/03/21 09:08:18 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
#else
-static char rcsid[] = "$OpenBSD: pwd.c,v 1.9 2003/06/02 23:32:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: pwd.c,v 1.10 2006/04/01 18:08:48 deraadt Exp $";
#endif
#endif /* not lint */
@@ -79,7 +79,7 @@ main(int argc, char *argv[])
if (argc != 0)
usage();
- if ((p = getcwd(NULL, 0)) == NULL)
+ if ((p = getcwd(NULL, (size_t)0)) == NULL)
err(1, "getcwd");
(void)printf("%s\n", p);
exit(0);