Update kim_test to use new error string function
authorJustin Anderson <jander@mit.edu>
Thu, 25 Sep 2008 21:15:40 +0000 (21:15 +0000)
committerJustin Anderson <jander@mit.edu>
Thu, 25 Sep 2008 21:15:40 +0000 (21:15 +0000)
ticket: 6055

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20755 dc483132-0cff-0310-8789-dd5450dbe970

src/kim/test/test_kim_common.c

index b28fac395acdd3214d07d60f6e4b1289fc65bd86..c5b4382087b347c5bd04dc128fda81af4a5e9c91 100644 (file)
@@ -100,7 +100,7 @@ void fail_if_error (kim_test_state_t  in_state,
         va_list args;
         kim_string message = NULL;
         
-        kim_error err = kim_string_get_last_error_message (&message, err);
+        kim_error err = kim_string_create_for_last_error (&message, err);
         
         printf ("\tFAILURE: ");
         printf ("%s() got %d (%s) ",