freebsd-skq/lib/libkvm
trociny 1e8738d775 In kvm_argv(), the case when the supplied buffer was too short to hold the
requested value was handled incorrectly, and the function retuned NULL
instead of the truncated result.

Fix this and also remove unnecessary check for buf != NULL, which alway
retuns true.

MFC after:	3 days
2012-01-15 18:51:07 +00:00
..
kvm_amd64.c
kvm_arm.c
kvm_cptime.c
kvm_file.c
kvm_getcptime.3
kvm_geterr.3
kvm_getfiles.3
kvm_getloadavg.3
kvm_getloadavg.c
kvm_getpcpu.3
kvm_getprocs.3
kvm_getswapinfo.3
kvm_getswapinfo.c
kvm_i386.c
kvm_ia64.c
kvm_minidump_amd64.c
kvm_minidump_arm.c
kvm_minidump_i386.c
kvm_minidump_mips.c
kvm_mips.c
kvm_nlist.3
kvm_open.3
kvm_pcpu.c
kvm_powerpc64.c
kvm_powerpc.c
kvm_private.h
kvm_proc.c
kvm_read.3
kvm_sparc64.c
kvm_sparc.c
kvm_vnet.c
kvm.3
kvm.c
kvm.h
Makefile