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 754489e..44389f2 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);