From: Pino Toscano Date: Sun, 6 Oct 2024 07:40:14 +0000 (+0200) Subject: [PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd X-Git-Tag: archive/raspbian/6.7.2+dfsg-5+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6fb258e0373f802d858399c69141394210335590;p=qt6-base.git [PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd Directly use the right type for it, after the Linux code was dropped. Fixes commit 543ae6e6a43519b9fca6758c4a8c78625fcb2c86. Change-Id: I1417853153d2851262f40713b3318f0dae09c391 Reviewed-by: Thiago Macieira Gbp-Pq: Name upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch --- diff --git a/src/corelib/io/qstorageinfo_unix.cpp b/src/corelib/io/qstorageinfo_unix.cpp index 71775b78..4fc4b554 100644 --- a/src/corelib/io/qstorageinfo_unix.cpp +++ b/src/corelib/io/qstorageinfo_unix.cpp @@ -99,7 +99,7 @@ private: #elif defined(Q_OS_HURD) FILE *fp; QByteArray buffer; - mountinfoent mnt; + struct mntent mnt; #elif defined(Q_OS_HAIKU) BVolumeRoster m_volumeRoster;