summaryrefslogtreecommitdiff
path: root/Modules/fcntlmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-07-12 05:26:35 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-07-12 05:26:35 +0000
commit41efc144980d27f62c74ae864819e21070f0ce90 (patch)
treeb2695780fd162fa9e318eea520cc4c6268aa65e6 /Modules/fcntlmodule.c
parentedef2be4af973f1766b593cf48188db2e320dcbe (diff)
downloadcpython-git-41efc144980d27f62c74ae864819e21070f0ce90.tar.gz
Fix function name in error msg
Diffstat (limited to 'Modules/fcntlmodule.c')
-rw-r--r--Modules/fcntlmodule.c2
1 files changed, 1 insertions, 1 deletions
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;