summaryrefslogtreecommitdiff
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-04-30 21:03:16 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-04-30 21:03:16 +0000
commit2512cd4e8f11e6eca32e4daaee54ac3ebc742dc3 (patch)
treec2d46f9e7237fa254b5ecebcecfa51b7655e8e66 /lib/libdisk/create_chunk.c
parent20a83c49ba9f6075b78edc70c3e2e3624d8ad361 (diff)
Notes
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r--lib/libdisk/create_chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 330ccc80ed4b..d8e35e8ce232 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -138,7 +138,7 @@ int
Fixup_Names(struct disk *d)
{
struct chunk *c1, *c2;
-#if defined(__i386__) || defined(__ia64__)
+#if defined(__i386__) || defined(__ia64__) || defined(__amd64__)
struct chunk *c3;
int j;
#endif
@@ -149,7 +149,7 @@ Fixup_Names(struct disk *d)
continue;
if (strcmp(c2->name, "X"))
continue;
-#if defined(__i386__) || defined(__ia64__)
+#if defined(__i386__) || defined(__ia64__) || defined(__amd64__)
c2->oname = malloc(12);
if (!c2->oname)
return -1;