aboutsummaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
commitb71c668c577f7780362f7ea632895c11e3760d66 (patch)
tree860ccf38cce8c5347ae2b714a22b82a1d7dba323 /miscutils/devfsd.c
parent82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff)
downloadbusybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz
busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.bz2
busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.zip
style fix (stray space before ';')
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index d8730459b..6db0c7b05 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -1600,7 +1600,7 @@ int st_expr_expand(char *output, unsigned int length, const char *input,
1600 } 1600 }
1601 /* Someone else's home directory */ 1601 /* Someone else's home directory */
1602 for (ptr = ++input; !isspace(ch) && (ch != '/') && (ch != '\0'); ch = *++ptr) 1602 for (ptr = ++input; !isspace(ch) && (ch != '/') && (ch != '\0'); ch = *++ptr)
1603 /* VOID */ ; 1603 /* VOID */;
1604 len = ptr - input; 1604 len = ptr - input;
1605 if (len >= sizeof tmp) 1605 if (len >= sizeof tmp)
1606 goto st_expr_expand_out; 1606 goto st_expr_expand_out;
@@ -1679,7 +1679,7 @@ static const char *expand_variable(char *buffer, unsigned int length,
1679 if (ch != '{') { 1679 if (ch != '{') {
1680 /* Simple variable expansion */ 1680 /* Simple variable expansion */
1681 for (ptr = input; isalnum(ch) || (ch == '_') || (ch == ':'); ch = *++ptr) 1681 for (ptr = input; isalnum(ch) || (ch == '_') || (ch == ':'); ch = *++ptr)
1682 /* VOID */ ; 1682 /* VOID */;
1683 len = ptr - input; 1683 len = ptr - input;
1684 if ((size_t)len >= sizeof tmp) 1684 if ((size_t)len >= sizeof tmp)
1685 goto expand_variable_out; 1685 goto expand_variable_out;