diff --git a/configure b/configure
index 1aae93b3d243ca192cc12eb46d8607ede8407ebe..a9335460910b2e1acbade5fe78e73f3da854e5ba 100755
--- a/configure
+++ b/configure
@@ -923,7 +923,7 @@ check_type(){
 }
 
 check_struct(){
-    log check_type "$@"
+    log check_struct "$@"
     headers=$1
     struct=$2
     member=$3