chiark / gitweb /
Unify GREEDY_REALLOC and GREEDY_REALLOC_T
[elogind.git] / src / login / logind-seat.c
index 5350e770041c78533007c64dd863436b4074b973..3114de84de5811950248486d1a02862f29eb7fb1 100644 (file)
@@ -485,7 +485,7 @@ void seat_claim_position(Seat *s, Session *session, unsigned int pos) {
         if (seat_has_vts(s))
                 pos = session->vtnr;
 
-        if (!GREEDY_REALLOC0_T(s->positions, s->position_count, pos + 1))
+        if (!GREEDY_REALLOC0(s->positions, s->position_count, pos + 1))
                 return;
 
         seat_evict_position(s, session);