diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-11-02 17:42:33 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-11-02 17:42:33 (GMT) |
commit | d631ebe20b2a94bff9065bae77230d322f24f398 (patch) | |
tree | da2e7a4cf48a4e0ba30db5f1bdc13f206e7212f3 /Modules | |
parent | a978ab0d8c91b5f5bf8222dc8c7eada7430ee2e8 (diff) | |
download | cpython-d631ebe20b2a94bff9065bae77230d322f24f398.zip cpython-d631ebe20b2a94bff9065bae77230d322f24f398.tar.gz cpython-d631ebe20b2a94bff9065bae77230d322f24f398.tar.bz2 |
Remove extra argument in mknod. Fixes #632628.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 68f7b62..0cf0022 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -5169,7 +5169,7 @@ posix_mknod(PyObject *self, PyObject *args) int mode = 0600; int device = 0; int res; - if (!PyArg_ParseTuple(args, "s|iii:mknod", &filename, &mode, &device)) + if (!PyArg_ParseTuple(args, "s|ii:mknod", &filename, &mode, &device)) return NULL; Py_BEGIN_ALLOW_THREADS res = mknod(filename, mode, device); |