* to at least have some ordering information
* if the monotonic timestamp is missing */
le->sec_sent_mono = ale->sec_sent;
- le->nsec_sent_mono = ale->sec_sent;
+ le->nsec_sent_mono = ale->nsec_sent;
#ifdef USE_ANDROID_MONOTONIC
/* there may be android_logger_footer at the end of payload, right after log message,
ret = SORT_SENT_REAL;
else if (!strcmp(sort_str, "recv_real"))
ret = SORT_RECV_REAL;
- else if (!strcmp(sort_str, "recv_mono"))
- ret = SORT_RECV_MONO;
+ else if (!strcmp(sort_str, "sent_mono"))
+ ret = SORT_SENT_MONO;
}
return ret;