git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: convert open calls to remove spaces to skip_spaces() lib function
[safe/jmp/linux-2.6]
/
drivers
/
video
/
output.c
diff --git
a/drivers/video/output.c
b/drivers/video/output.c
index
5e6439a
..
5137aa0
100644
(file)
--- a/
drivers/video/output.c
+++ b/
drivers/video/output.c
@@
-50,7
+50,7
@@
static ssize_t video_output_store_state(struct device *dev,
int request_state = simple_strtoul(buf,&endp,0);
size_t size = endp - buf;
- if (
*endp &&
isspace(*endp))
+ if (isspace(*endp))
size++;
if (size != count)
return -EINVAL;