diff options
Diffstat (limited to 'daemon/gluster-blockd.c')
-rw-r--r-- | daemon/gluster-blockd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gluster-blockd.c b/daemon/gluster-blockd.c index 863856f..6ccd105 100644 --- a/daemon/gluster-blockd.c +++ b/daemon/gluster-blockd.c @@ -77,7 +77,7 @@ glusterBlockCliThreadProc (void *vargp) } saun.sun_family = AF_UNIX; - strcpy(saun.sun_path, GB_UNIX_ADDRESS); + GB_STRCPYSTATIC(saun.sun_path, GB_UNIX_ADDRESS); if (unlink(GB_UNIX_ADDRESS) && errno != ENOENT) { LOG("mgmt", GB_LOG_ERROR, "unlink(%s) failed (%s)", |