scripts/embedded_scripts: do not add superfluous NUL to script_names[]
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 2 Nov 2018 13:18:36 +0000 (14:18 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 2 Nov 2018 13:18:36 +0000 (14:18 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/embedded_scripts

index 986e851604c39d2d9b22d6376d4846e9c8d493b9..7245ba6e084b450cf9c1951140f5152c70c98534 100755 (executable)
@@ -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'