From 74bc01e03e96d5a6a318688d2ee8c620f32ce928 Mon Sep 17 00:00:00 2001 From: erik 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 git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- pwd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pwd.c') diff --git a/pwd.c b/pwd.c index c5ce6ff89..bacabd77a 100644 --- a/pwd.c +++ b/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