summaryrefslogtreecommitdiff
path: root/smf-init/debian/patches/halt-amd64.patch
blob: 57a681cc217663c4d70f014da335a2787f17c57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: smf-init/usr/src/cmd/halt/halt.c
===================================================================
--- smf-init.orig/usr/src/cmd/halt/halt.c	2013-01-25 09:05:46.836909693 +0000
+++ smf-init/usr/src/cmd/halt/halt.c	2013-01-25 09:06:36.031341509 +0000
@@ -87,7 +87,7 @@
 
 #if defined(__sparc)
 #define	CUR_ELFDATA	ELFDATA2MSB
-#elif defined(__i386)
+#elif defined(__i386) || defined (__amd64)
 #define	CUR_ELFDATA	ELFDATA2LSB
 #endif