From 3d6d12c6b17e6ea84112bd3a7aac19d8b614fc1c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 28 Apr 2006 17:52:09 +0200 Subject: vol_id: fix logging from libvolume_id's log function --- udev_rules.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'udev_rules.c') diff --git a/udev_rules.c b/udev_rules.c index 596bcd188b..ee4632513a 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -2,17 +2,17 @@ * udev_rules.c * * Copyright (C) 2003 Greg Kroah-Hartman - * Copyright (C) 2003-2005 Kay Sievers + * Copyright (C) 2003-2006 Kay Sievers * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation version 2 of the License. - * + * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - * + * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. @@ -451,8 +451,7 @@ void udev_rules_apply_format(struct udevice *udev, char *string, size_t maxsize) goto found; } } - } - else if (head[0] == '%') { + } else if (head[0] == '%') { /* substitute format char */ if (head[1] == '\0') break; -- cgit v1.2.3-54-g00ecf