summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs/tmpfs_subr.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-12-14 16:06:42 +0000
committerkrw <krw@openbsd.org>2013-12-14 16:06:42 +0000
commitf3a8c5fd0facc7c1b61fad5e2c445da27dde6188 (patch)
treefd61fe3d0472cb7ed7be290a94bdfb5c802b14cc /sys/tmpfs/tmpfs_subr.c
parentWhen writing a history entry, don't downcast time() return value to (diff)
downloadwireguard-openbsd-f3a8c5fd0facc7c1b61fad5e2c445da27dde6188.tar.xz
wireguard-openbsd-f3a8c5fd0facc7c1b61fad5e2c445da27dde6188.zip
Start cleanup/fixup of pretty printing of option data. Use snprintf()
exclusively and thus simplify error checking/overflow detection. Bail out when unknown format character found. Don't ignore last character if it's unprintable. Print embedded NULs rather than ignoring them.
Diffstat (limited to 'sys/tmpfs/tmpfs_subr.c')
0 files changed, 0 insertions, 0 deletions