summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-07-29 08:08:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2006-07-29 08:08:36 -0400
commitd86b4aed83fe81d72d0c9a6a26fb4b95eef265cf (patch)
treeb2fad62959bd697f3351fb943a881a75e5a54822
parent01c18e1e2167a792e891780e6da5af09153a93fd (diff)
downloadremap-d86b4aed83fe81d72d0c9a6a26fb4b95eef265cf.tar.gz
fix a braino in mapline()
it's %.*s, not %*s
-rw-r--r--remap-log.c2
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;
}