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 all uses of ABS_PATH
[libguestfs.git]
/
daemon
/
fsck.c
diff --git
a/daemon/fsck.c
b/daemon/fsck.c
index
f1a9dc5
..
907c117
100644
(file)
--- a/
daemon/fsck.c
+++ b/
daemon/fsck.c
@@
-32,7
+32,7
@@
do_fsck (char *fstype, char *device)
char *err;
int r;
-
IS_DEVICE (device,
-1);
+
RESOLVE_DEVICE (device, return
-1);
r = commandr (NULL, &err, "/sbin/fsck", "-a", "-t", fstype, device, NULL);
if (r == -1) {