From cf749bc10c9e7b38217e102d0d3e7044e5515b4f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 26 Nov 2006 15:45:17 +0000 Subject: small fixes: fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. --- util-linux/mdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util-linux') diff --git a/util-linux/mdev.c b/util-linux/mdev.c index c03dd61..957316d 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -73,7 +73,7 @@ static void make_device(char *path, int delete) line++; /* find end of this line */ - for(end=pos; end-conf