summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/lib/tftpDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/lib/tftpDriver.c')
-rw-r--r--cpukit/libnetworking/lib/tftpDriver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c
index b84da7925d..0b21792abf 100644
--- a/cpukit/libnetworking/lib/tftpDriver.c
+++ b/cpukit/libnetworking/lib/tftpDriver.c
@@ -637,7 +637,7 @@ static int rtems_tftp_open_worker(
* Bind the socket to a local address
*/
retryCount = 0;
- rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &now);
+ now = rtems_clock_get_ticks_since_boot();
for (;;) {
int try = (now + retryCount) % 10;
@@ -923,7 +923,7 @@ static int rtems_tftp_close(
*/
rtems_interval ticksPerSecond;
sendStifle (tp, &tp->farAddress);
- rtems_clock_get (RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticksPerSecond);
+ ticksPerSecond = rtems_clock_get_ticks_per_second();
rtems_task_wake_after (1 + ticksPerSecond / 10);
}
close (tp->socket);