You're being somewhat inconsistent with `ASSERT(0 == command)` vs `r = command;  ASSERT(r == 0)` in this file.  I personally prefer the former, it's a bit shorter.