From d6e9098e10e82feeddb824d7c3d0cf61aff96c29 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Wed, 31 Mar 2010 14:40:27 +0200 Subject: Replace calls of old bdrv_open What is known today as bdrv_open2 becomes the new bdrv_open. All remaining callers of the old function are converted to the new one. In some places they even know the right format, so they should have used bdrv_open2 from the beginning. Signed-off-by: Kevin Wolf --- qemu-nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-nbd.c') diff --git a/qemu-nbd.c b/qemu-nbd.c index 6d854d3..25aa913 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -333,7 +333,7 @@ int main(int argc, char **argv) if (bs == NULL) return 1; - if (bdrv_open(bs, argv[optind], flags) < 0) + if (bdrv_open(bs, argv[optind], flags, NULL) < 0) return 1; fd_size = bs->total_sectors * 512; -- cgit v1.1