[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 6 Oct 2024 07:40:14 +0000 (09:40 +0200)
committerPatrick Franz <deltaone@debian.org>
Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)
Directly use the right type for it, after the Linux code was dropped.
Fixes commit 543ae6e6a43519b9fca6758c4a8c78625fcb2c86.

Change-Id: I1417853153d2851262f40713b3318f0dae09c391
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch

src/corelib/io/qstorageinfo_unix.cpp

index b809a52f974a648510d8d4370dda38db57ea6c8a..526c75c00a3fe5a37ffd552d0e7467c3db12b384 100644 (file)
@@ -98,7 +98,7 @@ private:
 #elif defined(Q_OS_HURD)
     FILE *fp;
     QByteArray buffer;
-    mountinfoent mnt;
+    struct mntent mnt;
 #elif defined(Q_OS_HAIKU)
     BVolumeRoster m_volumeRoster;