From a107ae1df8a93834fd1e5da23d63c958e518c1a0 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Tue, 24 Jun 2014 21:51:29 +0200 Subject: [PATCH] Fix error message in Entry_set_qualifier This closes #1 (github issue). --- acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acl.c b/acl.c index 6c0851b..8d757ab 100644 --- a/acl.c +++ b/acl.c @@ -1,7 +1,7 @@ /* posix1e - a python module exposing the posix acl functions - Copyright (C) 2002-2009, 2012 Iustin Pop + Copyright (C) 2002-2009, 2012, 2014 Iustin Pop This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -838,7 +838,7 @@ static int Entry_set_qualifier(PyObject* obj, PyObject* value, void* arg) { if(!PyInt_Check(value)) { PyErr_SetString(PyExc_TypeError, - "tag type must be integer"); + "qualifier must be integer"); return -1; } uidgid = PyInt_AsLong(value); -- 2.39.5