X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=jail%2Ffs.c;fp=jail%2Ffs.c;h=c4cdcc93d6cdfb5c2329468e6929ca12a3cbe81c;hp=f390180699f3d91fb53e01d594144ef9404ff440;hb=a79578a3dc7a57800168035b2edd3d1a1bcf0dda;hpb=4edf66c192583af866e5b8d4e8e9fcfcd68f1879 diff --git a/jail/fs.c b/jail/fs.c index f390180..c4cdcc9 100644 --- a/jail/fs.c +++ b/jail/fs.c @@ -86,7 +86,7 @@ static int add_script_interp(const char *path, const char *map, int size) start++; } if (start >= size) { - ERROR("bad script interp (%s)", path); + ERROR("bad script interp (%s)\n", path); return -1; } int stop = start + 1; @@ -94,7 +94,7 @@ static int add_script_interp(const char *path, const char *map, int size) stop++; } if (stop >= size || (stop-start) > PATH_MAX) { - ERROR("bad script interp (%s)", path); + ERROR("bad script interp (%s)\n", path); return -1; } char buf[PATH_MAX];