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

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