X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=abook.c;h=be5be2a77159382197f880834cdde223be083652;hb=80fb8e070065e171b716f8149d01b02d71f68827;hp=74ade409606f089acae4cf9d0299f16fb08d6b66;hpb=b72252752db9cad76ab15da63296c2694074d831;p=pkg%2Fabook.git diff --git a/abook.c b/abook.c index 74ade40..be5be2a 100644 --- a/abook.c +++ b/abook.c @@ -456,22 +456,25 @@ convert(char *srcformat, char *srcfile, char *dstformat, char *dstfile) switch( import(srcformat, srcfile) ) { case -1: - printf("input format %s not supported\n", srcformat); + fprintf(stderr, + "input format %s not supported\n", srcformat); ret = 1; case 1: - printf("cannot read file %s\n", srcfile); + fprintf(stderr, "cannot read file %s\n", srcfile); ret = 1; } if(!ret) switch( export(dstformat, dstfile) ) { case -1: - printf("output format %s not supported\n", - dstformat); + fprintf(stderr, + "output format %s not supported\n", + dstformat); ret = 1; break; case 1: - printf("cannot write file %s\n", dstfile); + fprintf(stderr, + "cannot write file %s\n", dstfile); ret = 1; break; }