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/devsparts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/devsparts.c') diff --git a/daemon/devsparts.c b/daemon/devsparts.c index e9c5e8f7..c3b9756c 100644 --- a/daemon/devsparts.c +++ b/daemon/devsparts.c @@ -193,7 +193,7 @@ do_mkfs (char *fstype, char *device) char *err; int r; - IS_DEVICE (device, -1); + RESOLVE_DEVICE (device, return -1); r = command (NULL, &err, "/sbin/mkfs", "-t", fstype, device, NULL); if (r == -1) { -- cgit