diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-07-29 08:08:36 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-07-29 08:08:36 -0400 |
commit | d86b4aed83fe81d72d0c9a6a26fb4b95eef265cf (patch) | |
tree | b2fad62959bd697f3351fb943a881a75e5a54822 | |
parent | 01c18e1e2167a792e891780e6da5af09153a93fd (diff) | |
download | remap-d86b4aed83fe81d72d0c9a6a26fb4b95eef265cf.tar.gz |
fix a braino in mapline()
it's %.*s, not %*s
-rw-r--r-- | remap-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remap-log.c b/remap-log.c index 4d65a35..98368fd 100644 --- a/remap-log.c +++ b/remap-log.c @@ -281,7 +281,7 @@ void mapline(void) l += range->to - range->from; printf("%s:%lu", map->new_name, l); } else { - printf("%s%*s", old_prefix, more - s, s); + printf("%s%.*s", old_prefix, more - s, s); } s = more; } |