[Libguestfs] [PATCH libnbd 2/2] examples: copy-libev.c: Fix error handling