From: Neal Norwitz Date: Wed, 12 Jul 2006 05:26:35 +0000 (+0000) Subject: Fix function name in error msg X-Git-Tag: v2.5b3~267 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41efc144980d27f62c74ae864819e21070f0ce90;p=python Fix function name in error msg --- diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c index 477af06289..49a91445fc 100644 --- a/Modules/fcntlmodule.c +++ b/Modules/fcntlmodule.c @@ -327,7 +327,7 @@ fcntl_lockf(PyObject *self, PyObject *args) l.l_type = F_WRLCK; else { PyErr_SetString(PyExc_ValueError, - "unrecognized flock argument"); + "unrecognized lockf argument"); return NULL; } l.l_start = l.l_len = 0;