aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-21 12:02:20 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2011-04-21 12:02:20 -0400
commit5e463fdc7f678339a4a1d547239cb3f773aed11a (patch)
treea351bf56b77c8c6eaf9c1daf9e118322a7ac211b
parent96efa531faed5071f36a526b884303d9828cc1a9 (diff)
downloadduser-5e463fdc7f678339a4a1d547239cb3f773aed11a.tar.gz
List format uses define FMTLIST
-rw-r--r--user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.c b/user.c
index 8fd156f..72a7c13 100644
--- a/user.c
+++ b/user.c
@@ -428,7 +428,7 @@ int user_list(const char* needle)
record_t *rp;
if((rp = find_in_file(tmp, needle)) != NULL)
{
- printf("%20s\t%5d%23s\n", basename(rp->file), rp->index, rp->name);
+ printf(FMTLIST, basename(rp->file), rp->index, rp->name);
processed.matches++;
}
}