summaryrefslogtreecommitdiff
path: root/lib/ZLocations.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZLocations.c')
-rw-r--r--lib/ZLocations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZLocations.c b/lib/ZLocations.c
index 9966c24..51378cb 100644
--- a/lib/ZLocations.c
+++ b/lib/ZLocations.c
@@ -97,7 +97,7 @@ Z_SendLocation(class,opcode,auth)
bptr[1] = ctime(&ourtime);
bptr[1][strlen(bptr[1])-1] = '\0';
- strcpy(mytty,ttyname(0));
+ (void) strcpy(mytty,ttyname(0));
bptr[2] = rindex(mytty,'/');
if (bptr[2])
bptr[2]++;