Skip to content

Fix incorrect use of printf in visibility.c#1

Open
bemoody wants to merge 1 commit into
ikarosilva:masterfrom
bemoody:printf
Open

Fix incorrect use of printf in visibility.c#1
bemoody wants to merge 1 commit into
ikarosilva:masterfrom
bemoody:printf

Conversation

@bemoody

@bemoody bemoody commented Mar 12, 2021

Copy link
Copy Markdown

The following error message is shown if the input is empty:

printf(stderr,"Error, no data read!");

Clearly this is meant to be fprintf, not printf. :)

To print to standard error, we must use fprintf(), not printf().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant