summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dl_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/dl_printf.c')
-rw-r--r--libexec/ld.so/dl_printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/dl_printf.c b/libexec/ld.so/dl_printf.c
index 0a33ee33037..200d9a26052 100644
--- a/libexec/ld.so/dl_printf.c
+++ b/libexec/ld.so/dl_printf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dl_printf.c,v 1.10 2002/10/04 03:01:42 drahn Exp $ */
+/* $OpenBSD: dl_printf.c,v 1.11 2003/02/02 16:57:58 deraadt Exp $ */
/*-
* Copyright (c) 1993
@@ -185,7 +185,7 @@ reswitch:
ul = lflag ? va_arg(ap, u_long) : va_arg(ap, u_int);
if (lflag)
l = (sizeof(ulong) * 8) - 4;
- else
+ else
l = (sizeof(u_int) * 8) - 4;
while (l >= 0) {
put("0123456789abcdef"[(ul >> l) & 0xf], fd);