summaryrefslogtreecommitdiff
path: root/scripts/embedded_scripts
diff options
context:
space:
mode:
authorDenys Vlasenko2018-11-02 14:18:36 +0100
committerDenys Vlasenko2018-11-02 14:18:36 +0100
commit43794ff45d18d807d6dcd80a5eb5f451d479370c (patch)
treeeb0f9e31f71218ecf978feedd221c27de4fd0115 /scripts/embedded_scripts
parentc339c7f7b393fbcd51b0f96df837baa1edad7fd8 (diff)
downloadbusybox-43794ff45d18d807d6dcd80a5eb5f451d479370c.zip
busybox-43794ff45d18d807d6dcd80a5eb5f451d479370c.tar.gz
scripts/embedded_scripts: do not add superfluous NUL to script_names[]
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/embedded_scripts')
-rwxr-xr-xscripts/embedded_scripts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/embedded_scripts b/scripts/embedded_scripts
index 986e851..7245ba6 100755
--- a/scripts/embedded_scripts
+++ b/scripts/embedded_scripts
@@ -32,7 +32,7 @@ then
do
printf '"%s\\0"' $i
done
- printf '"\\0";\n'
+ printf ';\n'
printf '#else\n'
printf 'extern const char script_names[] ALIGN1;\n'
printf '#endif\n'