summaryrefslogtreecommitdiff
path: root/ring_tx.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-04-30 14:30:39 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-04-30 14:30:39 +0200
commit1b5611fafbed8d0e04a17b2a53ff78b003165598 (patch)
tree6050444fa685ef852a9b77fa776dd3f6e5dd7588 /ring_tx.c
parent47bdd9425177dd5f80b43ba10372ca1750df4ac2 (diff)
netsniff-ng/ring: Make verbose flag bool
Change type of verbose flag from int to bool. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_tx.c')
-rw-r--r--ring_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_tx.c b/ring_tx.c
index ee47f3f..3d69752 100644
--- a/ring_tx.c
+++ b/ring_tx.c
@@ -68,7 +68,7 @@ void setup_tx_ring_layout(int sock, struct ring *ring, size_t size,
ring_verify_layout(ring);
}
-void create_tx_ring(int sock, struct ring *ring, int verbose)
+void create_tx_ring(int sock, struct ring *ring, bool verbose)
{
int ret;
retry: