block/nbd: Drop trailing "." in error messages

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Max Reitz 2016-10-25 15:11:29 +02:00 committed by Kevin Wolf
parent e5b77eec91
commit 82d73014a9
3 changed files with 6 additions and 6 deletions

View file

@ -200,9 +200,9 @@ static SocketAddress *nbd_config(BDRVNBDState *s, QemuOpts *opts, Error **errp)
if (!s->path == !s->host) {
if (s->path) {
error_setg(errp, "path and host may not be used at the same time.");
error_setg(errp, "path and host may not be used at the same time");
} else {
error_setg(errp, "one of path and host must be specified.");
error_setg(errp, "one of path and host must be specified");
}
return NULL;
}