diff --git a/osscan2.cc b/osscan2.cc index d99613111..e8d5511e7 100644 --- a/osscan2.cc +++ b/osscan2.cc @@ -1915,7 +1915,7 @@ void HostOsScan::makeTSeqFP(HostOsScanStats *hss) { if (hss->si.lastboot && (hss->seq_send_times[0].tv_sec - hss->si.lastboot > 63072000)) { /* Up 2 years? Perhaps, but they're probably lying. */ if (o.debugging) { - error("Ignoring claimed %s uptime of %lu days", + log_write(LOG_STDOUT, "Ignoring claimed %s uptime of %lu days", hss->target->targetipstr(), (hss->seq_send_times[0].tv_sec - hss->si.lastboot) / 86400); } @@ -3642,7 +3642,7 @@ static void endRound(OsScanInfo *OSI, HostOsScan *HOS, int roundNum) { hsi->FP_matches[roundNum].num_perfect_matches > 0) { memcpy(&(hsi->target->seq), &hsi->hss->si, sizeof(struct seq_info)); if (roundNum > 0) { - if(o.verbose) error("WARNING: OS didn't match until try #%d", roundNum + 1); + if(o.verbose) log_write(LOG_STDOUT, "WARNING: OS didn't match until try #%d", roundNum + 1); } match_fingerprint(hsi->target->FPR->FPs[roundNum], hsi->target->FPR, o.reference_FPs, OSSCAN_GUESS_THRESHOLD);