X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fblockdev.c;h=a5f769143505dadd075da3a84a2f0bf0394f6bbe;hb=8601bbda56cdb2b8491b6e2054596ec9599c38f1;hp=1b0185a1e43358372c74b5d6e104390b55e379e2;hpb=887290e949d54c6ac4c9b787231e588f84f2367c;p=libguestfs.git diff --git a/daemon/blockdev.c b/daemon/blockdev.c index 1b0185a..a5f7691 100644 --- a/daemon/blockdev.c +++ b/daemon/blockdev.c @@ -1,5 +1,5 @@ /* libguestfs - the guestfsd daemon - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,7 +46,7 @@ call_blockdev (char *device, char *switc, int extraarg, int prints) }; char buf[64]; - IS_DEVICE (device, -1); + RESOLVE_DEVICE (device, return -1); if (extraarg > 0) { snprintf (buf, sizeof buf, "%d", extraarg);