aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_file.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-17 01:12:28 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-17 01:12:28 +0100
commitb8987aac39d644c5cecadfd3ea14f3ebb80f13ee (patch)
tree223fddc1e4c2fd41bd4525f38b7ed1ed858f31b0 /plugin_file.c
parentd0b266cf85d3c7733259c76831de0cfd4c1731a1 (diff)
downloadlcd4linux-b8987aac39d644c5cecadfd3ea14f3ebb80f13ee.tar.gz
Import upstream version 0.11.0~svn1188
Diffstat (limited to 'plugin_file.c')
-rw-r--r--plugin_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin_file.c b/plugin_file.c
index 8c19924..7f39ec2 100644
--- a/plugin_file.c
+++ b/plugin_file.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_file.c 782 2007-03-21 05:01:11Z michael $
+/* $Id: plugin_file.c 1183 2012-03-26 04:31:55Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_file.c $
*
* plugin to perform simple file operations
@@ -61,7 +61,7 @@ static void my_readline(RESULT * result, RESULT * arg1, RESULT * arg2)
reqline = R2N(arg2);
fp = fopen(R2S(arg1), "r");
if (!fp) {
- error("readline couldn't open file '%s'", R2S(arg1));
+ info("readline couldn't open file '%s'", R2S(arg1));
value[0] = '\0';
} else {
i = 0;
@@ -77,7 +77,7 @@ static void my_readline(RESULT * result, RESULT * arg1, RESULT * arg2)
}
fclose(fp);
if (i <= reqline) {
- error("readline requested line %d but file only had %d lines", reqline, i - 1);
+ info("readline requested line %d but file only had %d lines", reqline, i - 1);
value[0] = '\0';
}
}