summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-19 00:20:20 +0000
committerDenis Vlasenko2006-12-19 00:20:20 +0000
commit15b213ef5a0834eb06a0183ab839ac883d829d5a (patch)
tree46b4cf5e6ce90c66b6794bf23b69705fbcb8d1e6 /shell
parent908d6b7054fbe793636d75d50d4af73ad9627c3b (diff)
downloadbusybox-15b213ef5a0834eb06a0183ab839ac883d829d5a.zip
busybox-15b213ef5a0834eb06a0183ab839ac883d829d5a.tar.gz
su: make /etc/shells check configurable
ash: missing ';'
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index ae5182a..97f0d6b 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12014,7 +12014,7 @@ setvar(const char *name, const char *val, int flags)
vallen = strlen(val);
}
INTOFF;
- nameeq = ckmalloc(namelen + vallen + 2)
+ nameeq = ckmalloc(namelen + vallen + 2);
p = memcpy(nameeq, name, namelen) + namelen;
if (val) {
*p++ = '=';