diff options
author | MaWe2019 <47883145+MaWe2019@users.noreply.github.com> | 2021-06-29 19:22:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 19:22:08 +0200 |
commit | cf7439fddcb1158ba00672c64bdd32246ed9e818 (patch) | |
tree | d9289b00f7c574bffa997eaddd77b698d028242e | |
parent | a5ed04cf6e6b3debcdb7ad9f1b63c1d4584f2d13 (diff) | |
download | psutil-cf7439fddcb1158ba00672c64bdd32246ed9e818.tar.gz |
Changed size of opts array in psutil/arch/windows/disk.c to 50 (#1962)
-rw-r--r-- | psutil/arch/windows/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/arch/windows/disk.c b/psutil/arch/windows/disk.c index 29bd0a20..0d8be2fa 100644 --- a/psutil/arch/windows/disk.c +++ b/psutil/arch/windows/disk.c @@ -201,7 +201,7 @@ psutil_disk_partitions(PyObject *self, PyObject *args) { int type; int ret; unsigned int old_mode = 0; - char opts[20]; + char opts[50]; HANDLE mp_h; BOOL mp_flag= TRUE; LPTSTR fs_type[MAX_PATH + 1] = { 0 }; |