mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 16:30:53 -05:00
known to printf(3) and then used printf() to format it... The only problem what the #define printf out1fmt. The code was behaving differently when run as a shell builtin since out1fmt() isn't printf(3). Simple hack. Print to a buffer and fputs (also #defined for sh) the result. This should fix the printf builtin problem in PR#1673, rather than leaving the call commented out. (printf.o was being statically linked in anyway, we might as well use it) |
||
|---|---|---|
| .. | ||
| Makefile | ||
| printf.1 | ||
| printf.c | ||