summaryrefslogtreecommitdiff
path: root/source3/client/smbumount.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/smbumount.c')
-rw-r--r--source3/client/smbumount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbumount.c b/source3/client/smbumount.c
index 8d76aefc5f..91b41d4206 100644
--- a/source3/client/smbumount.c
+++ b/source3/client/smbumount.c
@@ -92,7 +92,7 @@ canonicalize (const char *path)
if (realpath (path, canonical))
return canonical;
- strcpy (canonical, path);
+ pstrcpy (canonical, path);
return canonical;
}