projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b8663
)
aio: minor formatting fix
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Wed, 25 Jun 2014 13:58:15 +0000
(14:58 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Wed, 25 Jun 2014 13:58:15 +0000
(14:58 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/aio/aio.c
patch
|
blob
|
history
diff --git
a/src/aio/aio.c
b/src/aio/aio.c
index
aacdae5
..
1605165
100644
(file)
--- a/
src/aio/aio.c
+++ b/
src/aio/aio.c
@@
-44,8
+44,8
@@
static mraa_result_t aio_get_valid_fp(mraa_aio_context dev)
dev->adc_in_fp = open(file_path, O_RDONLY);
if (dev->adc_in_fp == -1) {
-
fprintf(stderr, "Failed to open Analog input raw file %s for "
-
"reading!\n", file_path); return( MRAA_ERROR_INVALID_RESOURCE);
+ fprintf(stderr, "Failed to open Analog input raw file %s for "
+ "reading!\n", file_path); return( MRAA_ERROR_INVALID_RESOURCE);
}
return MRAA_SUCCESS;