Merge pull request #1415 from Philippe23/fix-sscanf-warnings

network: Fix sscanf format warnings
This commit is contained in:
Kenyon Ralph 2024-03-02 14:42:05 -08:00 committed by GitHub
commit 294837506e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ int acquire() {
if (nif ++ < 0) { continue; }
char if_id[64];
uint_fast64_t r_bytes, r_packets, r_errs, r_drop, r_fifo, r_frame, r_compressed, r_multicast;
uint_fast64_t t_bytes, t_packets, t_errs, t_drop, t_fifo, t_frame, t_compressed, t_multicast;
unsigned long long r_bytes, r_packets, r_errs, r_drop, r_fifo, r_frame, r_compressed, r_multicast;
unsigned long long t_bytes, t_packets, t_errs, t_drop, t_fifo, t_frame, t_compressed, t_multicast;
sscanf(line, "%s"
" "
"%llu %llu %llu %llu %llu %llu %llu %llu"