aboutsummaryrefslogtreecommitdiffstats
path: root/o3000.c
diff options
context:
space:
mode:
Diffstat (limited to 'o3000.c')
-rw-r--r--o3000.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/o3000.c b/o3000.c
index 1ea9f77..37c0ab7 100644
--- a/o3000.c
+++ b/o3000.c
@@ -882,7 +882,7 @@ static int check_sessions(void) {
}
}
if (i < MAX_NUM_SESSION) {
- printf("%s: Session %d is still open\n", __func__, i);
+ printf("%s: Session %d is still open.\n", __func__, i);
return O3000_ERROR_SESSION_STILL_OPEN;
}
return 0;
@@ -902,18 +902,18 @@ int __stdcall o3000_firmware_update(unsigned char *data, int data_len) {
// paranoia checks
if(data == NULL) {
ret = O3000_ERROR_NOT_VALID_ARGUMENT;
- printf("%s: Data pointer is NULL. error: %d\n", __func__, ret);
+ printf("%s: Data pointer is NULL. error code: %d.\n", __func__, ret);
return ret;
}
if(data_len <= 0) {
ret = O3000_ERROR_NOT_VALID_ARGUMENT;
- printf("%s: Length of data is negative. error: %d\n", __func__, ret);
+ printf("%s: Length of data is negative. error code: %d.\n", __func__, ret);
return ret;
}
// checking whether all connections are closed
if ((ret = check_sessions())) {
- printf("%s: Cannot proceed to firmware update: error %d\n", __func__, ret);
+ printf("%s: Cannot proceed to firmware update: error code: %d.\n", __func__, ret);
return ret;
}