mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -33,7 +33,7 @@ do_ntfs_3g_probe (int rw, char *device)
|
||||
int r;
|
||||
const char *rw_flag;
|
||||
|
||||
IS_DEVICE (device, -1);
|
||||
RESOLVE_DEVICE (device, return -1);
|
||||
|
||||
rw_flag = rw ? "-w" : "-r";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user