Blame SOURCES/autofs-5.0.7-fix-automounter-support-on-parisc.patch

4d476f
autofs-5.0.7 - fix automounter support on parisc
4d476f
4d476f
From: Helge Deller <deller@gmx.de>
4d476f
4d476f
This patch fixes automounter support on the parisc architecture with
4d476f
64-bit kernel and 32-bit userspace.
4d476f
4d476f
Signed-off-by: Helge Deller <deller@gmx.de>
4d476f
---
4d476f
 daemon/automount.c |    1 +
4d476f
 1 file changed, 1 insertion(+)
4d476f
4d476f
diff --git a/daemon/automount.c b/daemon/automount.c
4d476f
index 4a3eb3d..4c651cf 100644
4d476f
--- a/daemon/automount.c
4d476f
+++ b/daemon/automount.c
4d476f
@@ -610,6 +610,7 @@ static size_t get_kpkt_len(void)
4d476f
 		if (strcmp(un.machine, "alpha") == 0 ||
4d476f
 		    strcmp(un.machine, "ia64") == 0 ||
4d476f
 		    strcmp(un.machine, "x86_64") == 0 ||
4d476f
+		    strcmp(un.machine, "parisc64") == 0 ||
4d476f
 		    strcmp(un.machine, "ppc64") == 0)
4d476f
 			pkt_len += 4;
4d476f