From 1997858e90da728287ef26a6d01a5766ac914312 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 10 Aug 2009 18:51:32 +0200 Subject: change almost all uses: s/IS_DEVICE/RESOLVE_DEVICE/ Use this command: git grep -l -w IS_DEVICE|xargs perl -pi -e \ 's/\b(?:IS_DEVICE)\b( \(.*?,) (.*?)\)/RESOLVE_DEVICE$1 return $2)/' --- daemon/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/file.c') diff --git a/daemon/file.c b/daemon/file.c index cd477e5e..d2ada997 100644 --- a/daemon/file.c +++ b/daemon/file.c @@ -391,7 +391,7 @@ do_file (char *path) char *buf; int len; - NEED_ROOT_OR_IS_DEVICE (path, NULL); + NEED_ROOT_OR_IS_DEVICE (path, return NULL); if (strncmp (path, "/dev/", 5) == 0) buf = (char *) path; -- cgit