1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/usr.sbin/i2c
John F. Carr 14980d69ff i2c: Don't print uninitialized data when verbose
i2c -sv or i2c -rv prints an uninitialized field i2c_opt.addr.
Suppress the verbose message entirely for scan and reset,
where it provides no information, and zero initialize the field.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279261

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1345
2024-09-20 09:37:58 -06:00
..
i2c.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
i2c.c i2c: Don't print uninitialized data when verbose 2024-09-20 09:37:58 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00