diff -r f7aeb1f4b110 -r 58d4622bc1ef mercurial/osutil.c --- a/mercurial/osutil.c Sat Mar 25 17:23:21 2017 +0900 +++ b/mercurial/osutil.c Sat Mar 25 17:24:11 2017 +0900 @@ -1095,7 +1095,7 @@ #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS) /* given a directory path, return filesystem type name (best-effort) */ -static PyObject *pygetfstype(PyObject *self, PyObject *args) +static PyObject *getfstype(PyObject *self, PyObject *args) { const char *path = NULL; struct statfs buf; @@ -1288,7 +1288,7 @@ "set process title (best-effort)\n"}, #endif #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS) - {"getfstype", (PyCFunction)pygetfstype, METH_VARARGS, + {"getfstype", (PyCFunction)getfstype, METH_VARARGS, "get filesystem type (best-effort)\n"}, #endif #endif /* ndef _WIN32 */