Skip to content

Commit

Permalink
cmd/snap-confine: fix type specifier type mismatches on armhf (canoni…
Browse files Browse the repository at this point in the history
…cal#15111)

* cmd/snap-confine: fix type mismatches with debug format specifiers

* cmd/snap-confine: format correction
  • Loading branch information
ernestl authored Feb 21, 2025
1 parent 0379fbb commit 4087a08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/snap-confine/snap-confine.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ static void log_startup_stage(const char *stage) {
}
struct timeval tv;
gettimeofday(&tv, NULL);
debug("-- snap startup {\"stage\":\"%s\", \"time\":\"%lu.%06lu\"}", stage, tv.tv_sec, tv.tv_usec);
debug("-- snap startup {\"stage\":\"%s\", \"time\":\"%lld.%06lld\"}", stage, (long long int)tv.tv_sec,
(long long int)tv.tv_usec);
}

/**
Expand Down

0 comments on commit 4087a08

Please sign in to comment.