From 4ebaf1074218d4e1c2907114bc53080c5abbd57d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 19 Jan 2007 21:33:19 +0000 Subject: strdup -> xstrdup sed: de-obfuscate piece of code --- libbb/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/loop.c b/libbb/loop.c index 14835ec24..9818a30cb 100644 --- a/libbb/loop.c +++ b/libbb/loop.c @@ -142,7 +142,7 @@ try_again: } close(ffd); if (!rc) { - if (!*device) *device = strdup(dev); + if (!*device) *device = xstrdup(dev); return mode==O_RDONLY ? 1 : 0; } return rc; -- cgit v1.2.3