/* Print a signed relative number of seconds (e.g. hold time, prune timer) in the form 5m1s. This does no truncation, so 32230861 seconds is represented as 1y1w1d1h1m1s.  */
void signed_relts_print(netdissect_options *ndo, int32_t secs)
/* Print a signed relative number of seconds (e.g. hold time, prune timer) in the form 5m1s. This does no truncation, so 32230861 seconds is represented as 1y1w1d1h1m1s.  */
void signed_relts_print(netdissect_options *ndo, int32_t secs)
{
	if (secs < 0) {
		ND_PRINT((ndo, "-"));
		if (secs == INT32_MIN) {
			unsigned_relts_print(ndo, 2147483648U);
		} else {
			unsigned_relts_print(ndo, -secs);
		}
		return;
	}
	unsigned_relts_print(ndo, secs);
}