summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/xprintf.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1999-03-03 21:18:00 +0000
committerchristos <christos@NetBSD.org>1999-03-03 21:18:00 +0000
commitec2edc19fde3370a188773de76dd9ab67c81e501 (patch)
treef0b3de0b7faacffd441afe3e435f37cbef0d44ab /libexec/ld.elf_so/xprintf.c
parent6b8842ab8e8bb01efa311039e5912ddaffd46223 (diff)
Make this compile without -DRTLD_LOADER and fix printf format problems on
the alpha.
Diffstat (limited to 'libexec/ld.elf_so/xprintf.c')
-rw-r--r--libexec/ld.elf_so/xprintf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.elf_so/xprintf.c b/libexec/ld.elf_so/xprintf.c
index 2f18612f4fe..bcc6f11f87c 100644
--- a/libexec/ld.elf_so/xprintf.c
+++ b/libexec/ld.elf_so/xprintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: xprintf.c,v 1.4 1999/03/01 16:40:08 christos Exp $ */
+/* $NetBSD: xprintf.c,v 1.5 1999/03/03 21:18:01 christos Exp $ */
/*
* Copyright 1996 Matt Thomas <matt@3am-software.com>
@@ -38,6 +38,7 @@
#include <varargs.h>
#endif
+#ifdef RTLD_LOADER
#define SZ_SHORT 0x01
#define SZ_INT 0x02
#define SZ_LONG 0x04
@@ -382,3 +383,4 @@ xassert(file, line, failedexpr)
abort();
/* NOTREACHED */
}
+#endif