Remove extra argument in mknod. Fixes #632628.

This commit is contained in:
Martin v. Löwis 2002-11-02 17:42:33 +00:00
parent a978ab0d8c
commit d631ebe20b
1 changed files with 1 additions and 1 deletions

View File

@ -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);