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
/
grep.c
diff --git
a/daemon/grep.c
b/daemon/grep.c
index
c51dc0b
..
19e4683
100644
(file)
--- a/
daemon/grep.c
+++ b/
daemon/grep.c
@@
-36,7
+36,7
@@
grep (const char *prog, const char *flag, char *regex, char *path)
char **lines;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path,
return
NULL);
/* Make the path relative to /sysroot. */
buf = sysroot_path (path);