diff options
| author | Warner Losh <imp@FreeBSD.org> | 2015-08-28 02:29:31 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2015-08-28 02:29:31 +0000 |
| commit | d63180f2dfd9630878c581c8c00c44315bd49e03 (patch) | |
| tree | 86b9bb02a9efd5832c16e0e70ff61e763e99faca /sys/dev/ow | |
| parent | 97c477f86f41c7be958a8c52a98337ec924e189e (diff) | |
Notes
Diffstat (limited to 'sys/dev/ow')
| -rw-r--r-- | sys/dev/ow/ow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ow/ow.c b/sys/dev/ow/ow.c index f854d250be8a..ea788907e26f 100644 --- a/sys/dev/ow/ow.c +++ b/sys/dev/ow/ow.c @@ -491,7 +491,7 @@ ow_child_location_str(device_t dev, device_t child, char *buf, size_t buflen) { - snprintf(buf, buflen, ""); + *buf = '\0'; return (0); } |
