diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-02 16:57:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-02 16:57:59 +0000 |
commit | 9de3e81d3ae0edf58696f5ef45356a2fbc615b9e (patch) | |
tree | 68a91274148408935b2018b28ae24be4b18c8c26 /libexec/ld.so/dl_printf.c | |
parent | 09e6d0d93f5a520c5819dda4ad20beeb4823f0d9 (diff) |
knf & ansi; drahn ok
Diffstat (limited to 'libexec/ld.so/dl_printf.c')
-rw-r--r-- | libexec/ld.so/dl_printf.c | 4 |
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); |