diff options
| author | vanhauser-thc <vh@thc.org> | 2022-07-12 09:04:54 +0200 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2022-07-12 09:04:54 +0200 |
| commit | b847e0f414e7b310e1a68bc501d4e2453bfce70e (patch) | |
| tree | 1ea5ebbb0b47e8d55b1950e9b787ec9f254655af /frida_mode/src/stats/stats.c | |
| parent | 338f1ae2f85dffe7daa88fa78cd1d078a986d0d5 (diff) | |
| download | afl++-b847e0f414e7b310e1a68bc501d4e2453bfce70e.tar.gz | |
clang format 14
Diffstat (limited to 'frida_mode/src/stats/stats.c')
| -rw-r--r-- | frida_mode/src/stats/stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frida_mode/src/stats/stats.c b/frida_mode/src/stats/stats.c index 39aca0db..af08cd71 100644 --- a/frida_mode/src/stats/stats.c +++ b/frida_mode/src/stats/stats.c @@ -16,7 +16,7 @@ #define MICRO_TO_SEC 1000000 -char * stats_filename = NULL; +char *stats_filename = NULL; guint64 stats_interval = 0; static guint64 stats_interval_us = 0; static int stats_fd = -1; @@ -41,8 +41,8 @@ void stats_write(void) { stats_data->curr.stats_time = current_time; GDateTime *date_time = g_date_time_new_now_local(); - char * date_string = g_date_time_format(date_time, "%Y-%m-%d"); - char * time_string = g_date_time_format(date_time, "%H:%M:%S"); + char *date_string = g_date_time_format(date_time, "%Y-%m-%d"); + char *time_string = g_date_time_format(date_time, "%H:%M:%S"); guint elapsed = (stats_data->curr.stats_time - stats_data->prev.stats_time) / MICRO_TO_SEC; |
