mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
updates
Fri Jan 13 23:11:33 2006 Søren Sandmann <sandmann@redhat.com> * TODO: updates
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
2d525523f8
commit
9125c4e644
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user