[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.14 v2] tools/xen-ucode: fix error code propagation of microcode load operation
On 16.06.2020 13:42, Igor Druzhinin wrote: > @@ -62,8 +62,11 @@ int main(int argc, char *argv[]) > > ret = xc_microcode_update(xch, buf, len); > if ( ret ) > + { > fprintf(stderr, "Failed to update microcode. (err: %s)\n", > strerror(errno)); > + return errno; I think you need to latch errno, as fprintf() may in principle run into another error. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |