git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update generator to emit each RESOLVE_DEVICE call
[libguestfs.git]
/
daemon
/
blockdev.c
diff --git
a/daemon/blockdev.c
b/daemon/blockdev.c
index
1b0185a
..
a5f7691
100644
(file)
--- a/
daemon/blockdev.c
+++ b/
daemon/blockdev.c
@@
-1,5
+1,5
@@
/* libguestfs - the guestfsd daemon
/* 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
*
* 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];
};
char buf[64];
-
IS_DEVICE (device,
-1);
+
RESOLVE_DEVICE (device, return
-1);
if (extraarg > 0) {
snprintf (buf, sizeof buf, "%d", extraarg);
if (extraarg > 0) {
snprintf (buf, sizeof buf, "%d", extraarg);