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:
Bjorn Andersson 2017-07-27 15:20:24 -07:00
parent 2d0be77c2e
commit 9fb35632fc

View File

@ -496,25 +496,25 @@ int main(int argc, char **argv)
ret = rmtfs_mem_open(); ret = rmtfs_mem_open();
if (ret) { if (ret) {
fprintf(stderr, "failed to initialize rmtfs shared memory"); fprintf(stderr, "failed to initialize rmtfs shared memory\n");
return 1; return 1;
} }
ret = storage_open(); ret = storage_open();
if (ret) { if (ret) {
fprintf(stderr, "failed to initialize storage system"); fprintf(stderr, "failed to initialize storage system\n");
goto close_rmtfs_mem; goto close_rmtfs_mem;
} }
rfsa_fd = qrtr_open(RFSA_QMI_SERVICE); rfsa_fd = qrtr_open(RFSA_QMI_SERVICE);
if (rfsa_fd < 0) { if (rfsa_fd < 0) {
fprintf(stderr, "failed to create qrtr socket"); fprintf(stderr, "failed to create qrtr socket\n");
goto close_storage; goto close_storage;
} }
rmtfs_fd = qrtr_open(RMTFS_QMI_SERVICE); rmtfs_fd = qrtr_open(RMTFS_QMI_SERVICE);
if (rmtfs_fd < 0) { if (rmtfs_fd < 0) {
fprintf(stderr, "failed to create qrtr socket"); fprintf(stderr, "failed to create qrtr socket\n");
goto close_storage; goto close_storage;
} }