summaryrefslogtreecommitdiff
path: root/source3/client/smbmount.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-06 19:30:42 +0000
committerJeremy Allison <jra@samba.org>2003-08-06 19:30:42 +0000
commit17a713d1b9eb00e28036fe9028c09c202340504f (patch)
treeae4fd7206298a1804d51eabf453e230774501571 /source3/client/smbmount.c
parent44e6c30f711fe227dad9e77aeb1c2b06d7ce5993 (diff)
downloadsamba-17a713d1b9eb00e28036fe9028c09c202340504f.tar.gz
samba-17a713d1b9eb00e28036fe9028c09c202340504f.tar.bz2
samba-17a713d1b9eb00e28036fe9028c09c202340504f.zip
Get rid of MAXPATHLEN, move to standard PATH_MAX.
Jeremy. (This used to be commit 455ed2d51d86f39ce0fa6e6abca31a5425d2ea17)
Diffstat (limited to 'source3/client/smbmount.c')
-rw-r--r--source3/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 343d4f2675..156130758b 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -428,7 +428,7 @@ static void send_fs_socket(char *the_service, char *mount_point, struct cli_stat
**/
static void init_mount(void)
{
- char mount_point[MAXPATHLEN+1];
+ char mount_point[PATH_MAX+1];
pstring tmp;
pstring svc2;
struct cli_state *c;