aboutsummaryrefslogtreecommitdiff
path: root/gdb/putenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/putenv.c')
-rw-r--r--gdb/putenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/putenv.c b/gdb/putenv.c
index 15689e3..907a91e 100644
--- a/gdb/putenv.c
+++ b/gdb/putenv.c
@@ -100,7 +100,7 @@ putenv( entry )
if ( new_environ == (char **) NULL )
return( -1 );
- bcopy( (char *) environ, (char *) new_environ, size*PSIZE );
+ (void) memcpy ((char *) new_environ, (char *) environ, size*PSIZE );
new_environ[size] = entry;
new_environ[size+1] = NULL;