Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317230
b: refs/heads/master
c: 74dcd43
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Greg Kroah-Hartman committed Jun 7, 2012
1 parent dbc97fb commit 79c11a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a21e6bfeb40eddf365d3e7841b37f3708fa6b13f
refs/heads/master: 74dcd439bf8c16b01f9f5a9dffb2b171ed94e2e5
2 changes: 1 addition & 1 deletion trunk/drivers/iio/industrialio-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ ssize_t iio_enum_available_read(struct iio_dev *indio_dev,
return 0;

for (i = 0; i < e->num_items; ++i)
len += snprintf(buf + len, PAGE_SIZE - len, "%s ", e->items[i]);
len += scnprintf(buf + len, PAGE_SIZE - len, "%s ", e->items[i]);

/* replace last space with a newline */
buf[len - 1] = '\n';
Expand Down

0 comments on commit 79c11a0

Please sign in to comment.