Commits

Armin Rigo committed 3cd724b

Fix function name in error message

Comments (0)

Files changed (1)

c/_cffi_backend.c

     char *varname;
     char *data;
 
-    if (!PyArg_ParseTuple(args, "O!sO:read_variable",
+    if (!PyArg_ParseTuple(args, "O!sO:write_variable",
                           &CTypeDescr_Type, &ct, &varname, &value))
         return NULL;