diff --git a/BasiliskII/src/macos_util.cpp b/BasiliskII/src/macos_util.cpp index 16a5f3f5..0070e3dc 100644 --- a/BasiliskII/src/macos_util.cpp +++ b/BasiliskII/src/macos_util.cpp @@ -226,12 +226,12 @@ time_t MacTimeToTime(uint32 t) } } + #if DEBUG uint32 round_trip_val = TimeToMacTime(out); D(bug("MacTimeToTime: round trip %u -> %ld -> %u\n", t, out, round_trip_val)); - #if DEBUG struct tm * show = localtime(&out); - D(bug("%s", asctime(show))); + D(bug(" %s", asctime(show))); if (t != round_trip_val) { D(bug("MacTimeToTime: Round-Trip Value Disagrees\n")); } diff --git a/SheepShaver/src/macos_util.cpp b/SheepShaver/src/macos_util.cpp index 29b5449e..c081e06b 100644 --- a/SheepShaver/src/macos_util.cpp +++ b/SheepShaver/src/macos_util.cpp @@ -486,12 +486,12 @@ time_t MacTimeToTime(uint32 t) } } + #if DEBUG uint32 round_trip_val = TimeToMacTime(out); D(bug("MacTimeToTime: round trip %u -> %ld -> %u\n", t, out, round_trip_val)); - #if DEBUG struct tm * show = localtime(&out); - D(bug("%s", asctime(show))); + D(bug(" %s", asctime(show))); if (t != round_trip_val) { D(bug("MacTimeToTime: Round-Trip Value Disagrees\n")); }