aboutsummaryrefslogtreecommitdiff
path: root/backends/rng-random.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-04-05 21:16:35 +0200
committerEric Blake <eblake@redhat.com>2019-05-07 09:43:42 -0500
commitc4e2aff81bef7310a4139707f8f880dbd2bab6b4 (patch)
tree7783b9d60074a03cfffd7f1d4738d7222681f400 /backends/rng-random.c
parent19eb2d4e736dc895f31fbd6b520e514f10cc08e0 (diff)
qemu-nbd: Look up flag names in array
The existing code to convert flag bits into strings looks a bit strange now, and if we ever add more flags, it will look even stranger. Prevent that from happening by making it look up the flag names in an array. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20190405191635.25740-1-mreitz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'backends/rng-random.c')
0 files changed, 0 insertions, 0 deletions