summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwprintf.c
diff options
context:
space:
mode:
authorsf <sf@openbsd.org>2017-08-14 22:43:56 +0000
committersf <sf@openbsd.org>2017-08-14 22:43:56 +0000
commitd3889036268468cdffd3fc47032af381adf0d100 (patch)
tree3145d1d68d1c03431b287be59756c41e88793ad0 /lib/libc/stdio/vfwprintf.c
parentTry for consistency in sizeof() usage. (diff)
downloadwireguard-openbsd-d3889036268468cdffd3fc47032af381adf0d100.tar.xz
wireguard-openbsd-d3889036268468cdffd3fc47032af381adf0d100.zip
msdofs: Add new CLUST_END constant
Add new CLUST_END and use it as parameter to pcbmap() when searching for end cluster, instead of explicitly passing 0xffff. This fixes potential problem for FAT32, where cluster number may be legally bigger than 0xffff. Also change clusteralloc() so that fillwith is not explicitly passed by caller anymore (there is no need to use anything other than CLUST_EOFE). From NetBSD commit by jdolecek@NetBSD.org ok tb@ mpi@
Diffstat (limited to 'lib/libc/stdio/vfwprintf.c')
0 files changed, 0 insertions, 0 deletions