diff --git a/src/preferences/time/NetworkTimeView.cpp b/src/preferences/time/NetworkTimeView.cpp index be8d497e80..f8854ecc28 100644 --- a/src/preferences/time/NetworkTimeView.cpp +++ b/src/preferences/time/NetworkTimeView.cpp @@ -409,12 +409,12 @@ NetworkTimeView::MessageReceived(BMessage* message) if (message->FindInt32("error code", &errorCode) == B_OK) { snprintf(buffer, sizeof(buffer), B_TRANSLATE("The following error occured " - "while synchronizing:\r\n%s: %s"), + "while synchronizing:\n%s: %s"), errorString, strerror(errorCode)); } else { snprintf(buffer, sizeof(buffer), B_TRANSLATE("The following error occured " - "while synchronizing:\r\n%s"), + "while synchronizing:\n%s"), errorString); } diff --git a/src/preferences/time/Time.cpp b/src/preferences/time/Time.cpp index e5499c11d6..216ea45c9e 100644 --- a/src/preferences/time/Time.cpp +++ b/src/preferences/time/Time.cpp @@ -94,13 +94,13 @@ main(int argc, char** argv) const char* errorString = NULL; int32 errorCode = 0; if (update_time(settings, &errorString, &errorCode) == B_OK) { - printf("Synchronization successful\r\n"); + printf("Synchronization successful\n"); } else if (errorCode != 0) { printf("The following error occured " - "while synchronizing:\r\n%s: %s\r\n", + "while synchronizing:\n%s: %s\n", errorString, strerror(errorCode)); } else { - printf("The following error occured while synchronizing:\r\n%s\r\n", + printf("The following error occured while synchronizing:\n%s\n", errorString); } } else {