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

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