jedisct1 / dsvpn

A Dead Simple VPN.
MIT License
5.17k stars 395 forks source link

\m was causing clang warning #33

Closed jungle-boogie closed 5 years ago

jungle-boogie commented 5 years ago
$ make
cc -O2 -pipe  -Iinclude -o dsvpn src/vpn.c src/charm.c src/os.c
src/vpn.c:611:17: warning: unknown escape sequence '\m' [-Wunknown-escape-sequence]
        printf("\mAdd the following rule to /etc/pf.conf:\npass out from %s nat-to egress\n\n",
                ^~
1 warning generated.
strip dsvpn
$ cc -v
OpenBSD clang version 8.0.0 (tags/RELEASE_800/final) (based on LLVM 8.0.0)
Target: aarch64-unknown-openbsd6.5
Thread model: posix
InstalledDir: /usr/bin
jedisct1 commented 5 years ago

Thank you!