got_a = false, got_b = false, got_c = false, got_d = 0;
- /* Add a oneshot handler, trigger it, re-enable it, and trigger
+ /* Add a oneshot handler, trigger it, reenable it, and trigger
* it again. */
assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#if 0 /// UNSUPPORTED by elogind (we aren't init)
assert_se(procfs_cpu_get_usage(&nsec) >= 0);
- log_info("Current sytem CPU time: %s", format_timespan(buf, sizeof(buf), nsec/NSEC_PER_USEC, 1));
+ log_info("Current system CPU time: %s", format_timespan(buf, sizeof(buf), nsec/NSEC_PER_USEC, 1));
assert_se(procfs_memory_get_current(&v) >= 0);
log_info("Current memory usage: %s", format_bytes(buf, sizeof(buf), v));