Commit cc746401 authored by Jondy Zhao's avatar Jondy Zhao

Remove trailing newline when return guid

parent 9b2d05d2
......@@ -106,7 +106,7 @@ int _tmain(int argc, TCHAR * argv[])
}
else {
hr = SlaposNetCfgGetNetworkInterfaceGuid(argv[2], argv[3], pGUID, pErrMsg);
printf("%s\n", hr == S_OK ? pGUID : pErrMsg);
printf("%s", hr == S_OK ? pGUID : pErrMsg);
}
}
else if (wcscmp(argv[1], L"test") == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment