git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
capitests: Test guestfs_add_drive_opts with optional args from C.
[libguestfs.git]
/
daemon
/
grub.c
diff --git
a/daemon/grub.c
b/daemon/grub.c
index
657abbb
..
f394eef
100644
(file)
--- a/
daemon/grub.c
+++ b/
daemon/grub.c
@@
-37,11
+37,11
@@
do_grub_install (const char *root, const char *device)
return -1;
}
return -1;
}
- r = command (NULL, &err, "
/sbin/
grub-install", buf, device, NULL);
+ r = command (NULL, &err, "grub-install", buf, device, NULL);
free (buf);
if (r == -1) {
free (buf);
if (r == -1) {
- reply_with_error ("
grub-install:
%s", err);
+ reply_with_error ("%s", err);
free (err);
return -1;
}
free (err);
return -1;
}