Show More
@@ -1104,12 +1104,7 b' static PyObject *pygetfstype(PyObject *s' | |||||
1104 | return NULL; |
|
1104 | return NULL; | |
1105 |
|
1105 | |||
1106 | memset(&buf, 0, sizeof(buf)); |
|
1106 | memset(&buf, 0, sizeof(buf)); | |
1107 | const char *type = getfstype(path, &buf); |
|
1107 | return Py_BuildValue("s", getfstype(path, &buf)); | |
1108 | if (type == NULL) |
|
|||
1109 | Py_RETURN_NONE; |
|
|||
1110 |
|
||||
1111 | PyObject *result = Py_BuildValue("s", type); |
|
|||
1112 | return result; |
|
|||
1113 | } |
|
1108 | } | |
1114 | #endif /* defined(HAVE_LINUX_STATFS) || defined(HAVE_BSD_STATFS) */ |
|
1109 | #endif /* defined(HAVE_LINUX_STATFS) || defined(HAVE_BSD_STATFS) */ | |
1115 |
|
1110 |
General Comments 0
You need to be logged in to leave comments.
Login now