clp

command line syntax highlighter
git clone git://jeskin.net/clp.git
README | Log | Files | Refs | LICENSE

commit 1318913ff4e5084a30d33d22f0c87f61dabf59de
parent a8fcb81a4891586bd7fddb00edf38830b3374515
Author: Jon Eskin <eskinjp@gmail.com>
Date:   Thu, 21 Jul 2022 11:26:25 -0400

Write error message to stderr

Diffstat:
Mclp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clp.c b/clp.c @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) { int ret = 0; int status = 0; if (!package_exists(L, "clp")) { - printf("WARNING: failed to load clp.lua\n"); + fprintf(stderr,"ERROR: failed to load clp.lua\n"); exit(1); }