OSDN Git Service

block: Fix error message style
authorEric Blake <eblake@redhat.com>
Thu, 23 Jun 2016 22:37:25 +0000 (16:37 -0600)
committerKevin Wolf <kwolf@redhat.com>
Tue, 5 Jul 2016 14:46:26 +0000 (16:46 +0200)
commit8cc9c6e92bed8459bffaf5a22af8560f2cd8042b
treea837a561430afaf0eb8a802f8655e4cc02f1585c
parenta5b8dd2ce83208cd7d6eb4562339ecf5aae13574
block: Fix error message style

error_setg() is not supposed to be used for multi-sentence
messages; tweak the message to append a hint instead.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/raw-posix.c