Fri Jan 13 23:11:33 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: updates
This commit is contained in:
Søren Sandmann
2006-01-14 04:12:12 +00:00
committed by Søren Sandmann Pedersen
parent 2d525523f8
commit 9125c4e644
3 changed files with 8 additions and 3 deletions

View File

@ -182,7 +182,7 @@ open_fd (Collector *collector,
while (fd < 0 && g_timer_elapsed (timer, NULL) < 0.5)
{
/* Give udev time to create the device */
/* Wait for udev to discover the new device */
usleep (100000);
fd = open (SYSPROF_FILE, O_RDONLY);
@ -196,8 +196,6 @@ open_fd (Collector *collector,
}
}
/* Wait for udev to discover the new device */
if (fd < 0)
{
/* FIXME: set error */