From fac10d7c59f7db0facd5fb94de273310b9ec86e6 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Mon, 7 Feb 2000 05:29:42 +0000 Subject: A few minor updates. ;-) Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik --- coreutils/pwd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coreutils/pwd.c') diff --git a/coreutils/pwd.c b/coreutils/pwd.c index c5ce6ff89..bacabd77a 100644 --- a/coreutils/pwd.c +++ b/coreutils/pwd.c @@ -23,11 +23,12 @@ #include "internal.h" #include #include +#include extern int pwd_main(int argc, char * * argv) { - char buf[NAME_MAX]; + char buf[PATH_MAX + 1]; if ( getcwd(buf, sizeof(buf)) == NULL ) { perror("get working directory"); -- cgit v1.2.3-55-g6feb