From 090eb55b013888f4190966003635ab0e6c0da135 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Fri, 22 May 2009 01:30:31 -0300
Subject: [PATCH 13/48] python: Fix function names in some PyArg_ParseTuple() calls

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 bindings/python/fiu_ll.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/python/fiu_ll.c b/bindings/python/fiu_ll.c
index 59e3b16..c1f5844 100644
--- a/bindings/python/fiu_ll.c
+++ b/bindings/python/fiu_ll.c
@@ -138,7 +138,7 @@ static PyObject *enable_external(PyObject *self, PyObject *args)
 	unsigned int flags;
 	PyObject *py_external_cb;
 
-	if (!PyArg_ParseTuple(args, "siIO:enable_random", &name, &failnum,
+	if (!PyArg_ParseTuple(args, "siIO:enable_external", &name, &failnum,
 				&flags, &py_external_cb))
 		return NULL;
 
@@ -162,7 +162,7 @@ static PyObject *disable(PyObject *self, PyObject *args)
 {
 	char *name;
 
-	if (!PyArg_ParseTuple(args, "s:fail", &name))
+	if (!PyArg_ParseTuple(args, "s:disable", &name))
 		return NULL;
 
 	return PyLong_FromLong(fiu_disable(name));
-- 
1.6.2.2.646.gb214

