On 3/1/20 11:17 AM, Julio Faracco wrote: > - snprintf(name, sizeof HAX_VM_DEVFS, "/dev/hax_vm/vm%02d", vm_id); > + assert(vm_id < 0); > + > + if (snprintf(name, sizeof HAX_VM_DEVFS, "/dev/hax_vm/vm%02d", > + vm_id) < 0) > + return NULL; > +
And the assert is opposite. You didn't even smoke test. r~