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

Tá an tiomantas seo le fáil i:
2025-09-30 18:58:51 +02:00
tuismitheoir 9a5e96f058
tiomantas 53f8aa343b

Féach ar an gComhad

@@ -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);
}