trace: simple style changes
authorLarry Dewey <ldewey@suse.com>
Tue, 27 Nov 2018 19:08:49 +0000 (12:08 -0700)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 12 Dec 2018 10:04:59 +0000 (10:04 +0000)
This changes two lines in simple.c that end with a comma, and replaces them
with a semi-colon.

Signed-off-by: Larry Dewey <ldewey@suse.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20181127190849.10558-1-ldewey@suse.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/simple.c

index 701dec639c7f3a45e0094141d2a2e0b05ce21405..ac904eca9102fa3e8d657064b1de8c4ee552d0cd 100644 (file)
@@ -169,9 +169,9 @@ static gpointer writeout_thread(gpointer opaque)
         wait_for_trace_records_available();
 
         if (g_atomic_int_get(&dropped_events)) {
-            dropped.rec.event = DROPPED_EVENT_ID,
+            dropped.rec.event = DROPPED_EVENT_ID;
             dropped.rec.timestamp_ns = get_clock();
-            dropped.rec.length = sizeof(TraceRecord) + sizeof(uint64_t),
+            dropped.rec.length = sizeof(TraceRecord) + sizeof(uint64_t);
             dropped.rec.pid = trace_pid;
             do {
                 dropped_count = g_atomic_int_get(&dropped_events);