FPII-2192: change max path to original value-4096

Change-Id: I41893c4ae27f692982fb13b53bea1954e3bbdd10
diff --git a/toolbox/lsof.c b/toolbox/lsof.c
index 655806d..f9f6f6d 100644
--- a/toolbox/lsof.c
+++ b/toolbox/lsof.c
@@ -103,7 +103,7 @@
     size_t offset;
     char device[10];
     long int inode;
-    char file[1024];
+    char file[PATH_MAX];
 
     strlcat(info->path, "maps", sizeof(info->path));
 
@@ -111,7 +111,7 @@
     if (!maps)
         goto out;
 
-    while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %1023s\n",
+    while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %4096s\n",
                   &offset, device, &inode, file) == 4) {
         // We don't care about non-file maps
         if (inode == 0 || !strcmp(device, "00:00"))