From e10abd8fbe1d22774878cdaedf031c8fdc2a42cb Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Fri, 18 Mar 2011 16:09:57 +0000 Subject: * python/py-value.c (valpy_getitem): Fix formatting of error function call. --- gdb/python/py-value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/py-value.c') diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 515eaec..4381d52 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -479,7 +479,7 @@ valpy_getitem (PyObject *self, PyObject *key) type = check_typedef (value_type (tmp)); if (TYPE_CODE (type) != TYPE_CODE_ARRAY && TYPE_CODE (type) != TYPE_CODE_PTR) - error( _("Cannot subscript requested type.")); + error (_("Cannot subscript requested type.")); else res_val = value_subscript (tmp, value_as_long (idx)); } -- cgit v1.1