aboutsummaryrefslogtreecommitdiffstats
path: root/tap-afpstat.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-11-08 21:59:39 +0000
committerBill Meier <wmeier@newsguy.com>2010-11-08 21:59:39 +0000
commitc17c9fff8796965b84af7c55efc1c5b6ce7674a7 (patch)
tree8e40e636f10aa1079c5dca2731f3231151c3fb32 /tap-afpstat.c
parent1c01cbfa6006479649f59945cb61202e4fc49939 (diff)
Use value_string_ext fcns to access certain value_string arrays;
Sort a few value_string arrays to be in ascending order by value; Do minor reformatting and whitespace cleanup. svn path=/trunk/; revision=34813
Diffstat (limited to 'tap-afpstat.c')
-rw-r--r--tap-afpstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-afpstat.c b/tap-afpstat.c
index 5505e11fd6..0465decc6d 100644
--- a/tap-afpstat.c
+++ b/tap-afpstat.c
@@ -100,7 +100,7 @@ afpstat_draw(void *pss)
}
printf("%-25s %6d %3d.%05d %3d.%05d %3" G_GINT64_MODIFIER "u.%05" G_GINT64_MODIFIER "u\n",
- val_to_str(i, CommandCode_vals, "Unknown (%u)"),
+ val_to_str_ext(i, &CommandCode_vals_ext, "Unknown (%u)"),
ss->proc[i].num,
(int)ss->proc[i].min.secs,ss->proc[i].min.nsecs/10000,
(int)ss->proc[i].max.secs,ss->proc[i].max.nsecs/10000,