]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed typo in strcpy() function call
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 12 Nov 2012 11:31:16 +0000 (12:31 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 12 Nov 2012 11:31:26 +0000 (12:31 +0100)
src/libimcv/plugins/imv_os/imv_os_state.c

index 754489eda509164d57fd522a5b5c2b06247b0638..44389f24fa91ebd10bb2e6b981336895f98195ab 100644 (file)
@@ -294,7 +294,7 @@ METHOD(imv_state_t, get_remediation_instructions, bool,
        enumerator->destroy(enumerator);
 
        pos = this->instructions = malloc(len + 1);
-       strcopy(pos, *string);
+       strcpy(pos, *string);
        pos += strlen(*string);
 
        enumerator = this->bad_packages->create_enumerator(this->bad_packages);