summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-11-29 16:50:31 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-11-30 16:13:51 -0500
commit35ff0a8910cc072d6a020819b33fa840800c2815 (patch)
tree3bf2a7fb120c5f37e60e0d87f7f0ff5ef86aa2a4 /main.c
parent85c6aebb5724e292c59ebc77320db55672f49070 (diff)
downloadbfs-35ff0a8910cc072d6a020819b33fa840800c2815.tar.xz
util: Use fgetc(stdin) instead of getchar()
On FreeBSD the getchar() macro leads to (spurious?) msan uninitialized value errors. Call the fgetc() library function to work around it.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions