]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r316080,r316081,r316115:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 31 Mar 2017 04:42:00 +0000 (04:42 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 31 Mar 2017 04:42:00 +0000 (04:42 +0000)
commitc77a873e409eb89cdcbd6faf3843b84d98393ddb
tree19b950b7a098af190c9140d7d09b3cbee9ae37d2
parent46a2444eb6a52feef1ec35e09e4d8ccb5186a3f8
MFC r316080,r316081,r316115:

r316080:

Fix some localized style(9) issues and reword CAM_ERRBUF_SIZE description

The CAM_ERRBUF_SIZE description rewording fixes a typo by proxy.

r316081:

Use `sizeof(cam_errbuf)` instead of `CAM_ERRBUF_SIZE` in snprintf calls

Reindent snprintf calls' arguments to match style(9) guidelines with
respect to indentation.

r316115:

libcam: use __func__ instead of hardcoding the function name as `func_name`

Tested with: `cam_device_copy(NULL, NULL)` // ;)..

git-svn-id: svn://svn.freebsd.org/base/stable/10@316316 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libcam/camlib.c
lib/libcam/camlib.h