From adf20c0c4d9f488d55254f54a79079b9cacbde8d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 7 Aug 2009 09:38:37 +0200 Subject: adjust const "**" pointers to avoid warnings Also, ... * src/generator.ml: Add DeviceList type, and propagate that change out to all calling/interface code. --- daemon/blockdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/blockdev.c') diff --git a/daemon/blockdev.c b/daemon/blockdev.c index 0745007a..e0ac3502 100644 --- a/daemon/blockdev.c +++ b/daemon/blockdev.c @@ -53,7 +53,7 @@ call_blockdev (const char *device, char *switc, int extraarg, int prints) } else argv[2] = device; - r = commandv (&out, &err, argv); + r = commandv (&out, &err, (char **) argv); if (r == -1) { reply_with_error ("%s: %s", argv[0], err); -- cgit