changed a printf to fprintf(stderr

pull/113/head
alanbjohnston 5 years ago committed by GitHub
parent fdd5fd0fd9
commit b65770fc81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -344,11 +344,11 @@ int main(int argc, char * argv[]) {
strcat(pythonConfigStr, pythonStr); strcat(pythonConfigStr, pythonStr);
strcat(pythonConfigStr, " c"); strcat(pythonConfigStr, " c");
printf("pythonConfigStr: %s\n", pythonConfigStr); fprintf(stderr, "pythonConfigStr: %s\n", pythonConfigStr);
file1 = sopen(pythonConfigStr); // try new function file1 = sopen(pythonConfigStr); // try new function
fgets(cmdbuffer, 1000, file1); fgets(cmdbuffer, 1000, file1);
printf("pythonStr result: %s\n", cmdbuffer); fprintf(stderr, "pythonStr result: %s\n", cmdbuffer);
/* /*
sleep(5); sleep(5);
fputc('\n', file1); fputc('\n', file1);

Loading…
Cancel
Save

Powered by TurnKey Linux.