mirror of
https://github.com/linux-msm/rmtfs.git
synced 2024-11-23 12:14:12 +08:00
rmtfs: Newline error prints in rmtfs
As a leftover from previous usage of err(3) the error prints did not end with a newline. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
2d0be77c2e
commit
9fb35632fc
8
rmtfs.c
8
rmtfs.c
@ -496,25 +496,25 @@ int main(int argc, char **argv)
|
||||
|
||||
ret = rmtfs_mem_open();
|
||||
if (ret) {
|
||||
fprintf(stderr, "failed to initialize rmtfs shared memory");
|
||||
fprintf(stderr, "failed to initialize rmtfs shared memory\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
ret = storage_open();
|
||||
if (ret) {
|
||||
fprintf(stderr, "failed to initialize storage system");
|
||||
fprintf(stderr, "failed to initialize storage system\n");
|
||||
goto close_rmtfs_mem;
|
||||
}
|
||||
|
||||
rfsa_fd = qrtr_open(RFSA_QMI_SERVICE);
|
||||
if (rfsa_fd < 0) {
|
||||
fprintf(stderr, "failed to create qrtr socket");
|
||||
fprintf(stderr, "failed to create qrtr socket\n");
|
||||
goto close_storage;
|
||||
}
|
||||
|
||||
rmtfs_fd = qrtr_open(RMTFS_QMI_SERVICE);
|
||||
if (rmtfs_fd < 0) {
|
||||
fprintf(stderr, "failed to create qrtr socket");
|
||||
fprintf(stderr, "failed to create qrtr socket\n");
|
||||
goto close_storage;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user