aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gtphub.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-17 13:27:20 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-17 14:04:01 +0000
commit36abeadc7ba6ff15a3e01230195309f87f788f33 (patch)
tree9bfc20e14f578ea100825cc27bd61f86c0440c7d /src/gprs/gtphub.c
parent107fb59e84b12bbf6bdfdd4fc241dbcda7332706 (diff)
Use osmo_clock_gettime from libosmocore
Diffstat (limited to 'src/gprs/gtphub.c')
-rw-r--r--src/gprs/gtphub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs/gtphub.c b/src/gprs/gtphub.c
index 4ee20cd..ca5857b 100644
--- a/src/gprs/gtphub.c
+++ b/src/gprs/gtphub.c
@@ -791,7 +791,7 @@ const char* const gtphub_side_idx_names[GTPH_SIDE_N] = {
time_t gtphub_now(void)
{
struct timespec now_tp;
- OSMO_ASSERT(clock_gettime(CLOCK_MONOTONIC, &now_tp) >= 0);
+ OSMO_ASSERT(osmo_clock_gettime(CLOCK_MONOTONIC, &now_tp) >= 0);
return now_tp.tv_sec;
}