git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change almost all uses: s/IS_DEVICE/RESOLVE_DEVICE/
[libguestfs.git]
/
daemon
/
sfdisk.c
diff --git
a/daemon/sfdisk.c
b/daemon/sfdisk.c
index
e06d0bf
..
693e89a
100644
(file)
--- a/
daemon/sfdisk.c
+++ b/
daemon/sfdisk.c
@@
-38,7
+38,7
@@
sfdisk (char *device, int n, int cyls, int heads, int sectors,
char buf[256];
int i;
char buf[256];
int i;
-
IS_DEVICE (device,
-1);
+
RESOLVE_DEVICE (device, return
-1);
strcpy (buf, "/sbin/sfdisk");
strcpy (buf, "/sbin/sfdisk");
@@
-111,7
+111,7
@@
sfdisk_flag (char *device, const char *flag)
char *out, *err;
int r;
char *out, *err;
int r;
-
IS_DEVICE (device,
NULL);
+
RESOLVE_DEVICE (device, return
NULL);
r = command (&out, &err, "/sbin/sfdisk", flag, device, NULL);
if (r == -1) {
r = command (&out, &err, "/sbin/sfdisk", flag, device, NULL);
if (r == -1) {