mask_to_names(): Handle if ftell() is not successful

Este commit está contenido en:
2025-09-30 18:58:51 +02:00
padre 9a5e96f058
commit 53f8aa343b

Ver fichero

@@ -311,6 +311,11 @@ const char *mask_to_names(int mask)
{
ret[pos-1] = '\0';
}
else
{
logerror("Failed to convert mask to string: %s", strerror(errno));
exit(EXIT_FAILURE);
}
return xstrdup(ret);
}