summaryrefslogtreecommitdiff
path: root/libbb/parse_config.c
diff options
context:
space:
mode:
authorAlexander Shishkin2010-10-28 06:10:03 +0200
committerDenys Vlasenko2010-10-28 06:10:03 +0200
commit776509544123c68bbc128c0fdb2f699062d294cf (patch)
treebda6c568102334dca82da268b9aa42b012a4ed69 /libbb/parse_config.c
parent78b286fea51ef137d660b91037c89376115a1994 (diff)
downloadbusybox-776509544123c68bbc128c0fdb2f699062d294cf.zip
busybox-776509544123c68bbc128c0fdb2f699062d294cf.tar.gz
mount: pass NULL, not "", as "data" to mount syscall if we have no opts
When mounting a filesystem without any additional options (data parameter to the mount(2) syscall), pass NULL instead of an empty string like GNU mount does. This fixes, for example mounting cgroup fs with bbox mount. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/parse_config.c')
0 files changed, 0 insertions, 0 deletions