aboutsummaryrefslogtreecommitdiffstats
path: root/tap-protohierstat.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 10:30:17 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 10:30:17 +0000
commitee2b7fd393064d7f48bb4867696f3288782ba6b9 (patch)
treead58bc01b508fe6803d76703aad31bd4a3ac0070 /tap-protohierstat.c
parent8608c8f1ded10fbaee00ff90d1fe7ca90b266629 (diff)
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26642
Diffstat (limited to 'tap-protohierstat.c')
-rw-r--r--tap-protohierstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-protohierstat.c b/tap-protohierstat.c
index 7f897b930a..29ef508218 100644
--- a/tap-protohierstat.c
+++ b/tap-protohierstat.c
@@ -152,7 +152,7 @@ phs_draw(phs_t *rs, int indentation)
}
stroff+=g_snprintf(str+stroff, MAXPHSLINE-stroff, " ");
}
- stroff+=g_snprintf(str+stroff, MAXPHSLINE-stroff, rs->proto_name);
+ stroff+=g_snprintf(str+stroff, MAXPHSLINE-stroff, "%s", rs->proto_name);
printf("%-40s frames:%d bytes:%" G_GINT64_MODIFIER "d\n",str, rs->frames, rs->bytes);
phs_draw(rs->child, indentation+1);
}