summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 416a599be3..a3aa7adcae 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -469,7 +469,7 @@ static struct functable net_func[] = {
if (!*global_myname) {
char *p2;
- fstrcpy(global_myname, myhostname());
+ pstrcpy(global_myname, myhostname());
p2 = strchr_m(global_myname, '.');
if (p2)
*p2 = 0;