From 2c226859cfc911c4a1eea009897050a16714aeec Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 15 Nov 2007 18:30:30 -0600 Subject: Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment tweaks. --- toys/mdev.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'toys/mdev.c') diff --git a/toys/mdev.c b/toys/mdev.c index 53be23e0..a4ddb0b7 100644 --- a/toys/mdev.c +++ b/toys/mdev.c @@ -1,7 +1,7 @@ /* vi:set ts=4: - * + * * mdev - Mini udev for busybox - * + * * Copyright 2005 Rob Landley * Copyright 2005 Frank Sorenson */ @@ -29,16 +29,16 @@ static void make_device(char *path) close(fd); if (len<1) return; temp[len] = 0; - + // Determine device name, type, major and minor - + device_name = strrchr(path, '/') + 1; type = path[5]=='c' ? S_IFCHR : S_IFBLK; major = minor = 0; sscanf(temp, "%u:%u", &major, &minor); // If we have a config file, look up permissions for this device - + if (CFG_MDEV_CONF) { char *conf, *pos, *end; @@ -53,7 +53,7 @@ static void make_device(char *path) for (pos = conf; pos-conf