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)/'
This commit is contained in:
Jim Meyering
2009-08-10 18:51:32 +02:00
parent 966dbd977f
commit 1997858e90
15 changed files with 32 additions and 32 deletions

View File

@@ -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;