]> Git Repo - qemu.git/commit - qemu-nbd.c
Use &error_fatal when initializing crypto on qemu-{img,io,nbd}
authorEduardo Habkost <[email protected]>
Thu, 12 May 2016 14:10:04 +0000 (11:10 -0300)
committerEduardo Habkost <[email protected]>
Fri, 20 May 2016 17:28:55 +0000 (14:28 -0300)
commite8f2d2722eb84a809697e82c762d39c8c13f22f6
tree9a6dd203d3a6e65c5b19ef6fc49d0aaf74848749
parent822ac12df0387b2d2eb1ff8fc6cddb46aa0c3867
Use &error_fatal when initializing crypto on qemu-{img,io,nbd}

In addition to making the code simpler, this will replace the
long error messages:
  cannot initialize crypto: Unable to initialize GNUTLS library: [...]
  cannot initialize crypto: Unable to initialize gcrypt
with shorter messages:
  Unable to initialize GNUTLS library: [...]
  Unable to initialize gcrypt

Signed-off-by: Eduardo Habkost <[email protected]>
qemu-img.c
qemu-io.c
qemu-nbd.c
This page took 0.025316 seconds and 4 git commands to generate.