diff options
Diffstat (limited to 'src/sm_client.c')
-rw-r--r-- | src/sm_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sm_client.c b/src/sm_client.c index 7d00961..7e9c986 100644 --- a/src/sm_client.c +++ b/src/sm_client.c @@ -224,7 +224,7 @@ SmcOpenConnection(char *networkIdsList, SmPointer context, if (ioErrorOccured) { if (errorStringRet && errorLength > 0) { - strncpy (errorStringRet, "IO error occured opening connection", + strncpy (errorStringRet, "IO error occurred opening connection", errorLength); errorStringRet[errorLength - 1] = '\0'; } |