Use errc/warnc to simplify code.
authorguenther <guenther@openbsd.org>
Tue, 20 May 2014 01:25:23 +0000 (01:25 +0000)
committerguenther <guenther@openbsd.org>
Tue, 20 May 2014 01:25:23 +0000 (01:25 +0000)
commit5ad04d351680822078003e2b066cfc9680d6157d
treebc78d1cc74e659478aa86d8884efcb9a0d678e50
parent537292fc482356e53e27fd70c0aa55773a8fb6a7
Use errc/warnc to simplify code.
Also, in 'ftp', always put the error message last, after the hostname/ipaddr.

ok jsing@ krw@ millert@
34 files changed:
regress/lib/libc/stdio_threading/include/local.h
regress/lib/libpthread/earlysig/earlysig.c
regress/lib/libpthread/pthread_rwlock/pthread_rwlock.c
regress/sys/kern/main-thread-exited/main-thread-exited.c
regress/sys/kern/rlimit-file/rlim-file.c
usr.bin/csplit/csplit.c
usr.bin/dc/dc.c
usr.bin/diff/diffdir.c
usr.bin/du/du.c
usr.bin/ftp/fetch.c
usr.bin/ftp/ftp.c
usr.bin/ftp/ruserpass.c
usr.bin/grep/util.c
usr.bin/indent/args.c
usr.bin/indent/indent.c
usr.bin/lndir/lndir.c
usr.bin/login/login.c
usr.bin/look/look.c
usr.bin/mail/lex.c
usr.bin/nc/netcat.c
usr.bin/nl/nl.c
usr.bin/patch/mkpath.c
usr.bin/printf/printf.c
usr.bin/skeyinit/skeyinit.c
usr.bin/spell/spellprog.c
usr.bin/uudecode/uudecode.c
usr.bin/which/which.c
usr.bin/xinstall/xinstall.c
usr.sbin/crunchgen/elf_hide.c
usr.sbin/kvm_mkdb/nlist.c
usr.sbin/lpr/lpr/lpr.c
usr.sbin/pcidump/pcidump.c
usr.sbin/procmap/procmap.c
usr.sbin/pwd_mkdb/pwd_mkdb.c