Skip to content

Commit

Permalink
cosmetic replace tab by space
Browse files Browse the repository at this point in the history
  • Loading branch information
Fneufneu committed Feb 28, 2012
1 parent 5458fd7 commit c7bee84
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/lib/adapter/USBCECAdapterDetection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,11 @@ uint8_t CUSBCECAdapterDetection::FindAdapters(cec_adapter *deviceList, uint8_t i
for (i = 0; i < 8; ++i)
{
(void)snprintf(devicePath, sizeof(devicePath), "/dev/ttyU%d", i);
if (!access(devicePath, 0))
{
snprintf(deviceList[iFound].path, sizeof(deviceList[iFound].path), "%s", devicePath);
snprintf(deviceList[iFound].comm, sizeof(deviceList[iFound].path), "%s", devicePath);
++iFound;
}
if (!access(devicePath, 0))
{
snprintf(deviceList[iFound ].path, sizeof(deviceList[iFound].path), "%s", devicePath);
snprintf(deviceList[iFound++].comm, sizeof(deviceList[iFound].path), "%s", devicePath);
}
}
#endif

Expand Down

0 comments on commit c7bee84

Please sign in to comment.