From f45c4f41b792e4b7c52eaf21b9540112887e861b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 16 Jun 2008 04:09:25 +0000 Subject: whitespace and comment fixes, no code changes --- modutils/modprobe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modutils/modprobe.c') diff --git a/modutils/modprobe.c b/modutils/modprobe.c index db946bb2e..84a2d7686 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -232,10 +232,10 @@ static char *parse_command_string(char *src, char **dst) #endif /* ENABLE_FEATURE_MODPROBE_MULTIPLE_OPTIONS */ static int is_conf_command(char *buffer, const char *command) -{ +{ int len = strlen(command); return ((strstr(buffer, command) == buffer) && - isspace(buffer[len])); + isspace(buffer[len])); } /* @@ -325,7 +325,7 @@ static void include_conf(struct dep_t **first, struct dep_t **current, char *buf include_conf(first, current, buffer, buflen, fdi); close(fdi); } - } else if (ENABLE_FEATURE_MODPROBE_BLACKLIST && + } else if (ENABLE_FEATURE_MODPROBE_BLACKLIST && (is_conf_command(buffer, "blacklist"))) { char *mod; struct dep_t *dt; -- cgit v1.2.3