ea03f6ba0d
We currently return -ENOMEDIUM when /etc/machine-id is empty, and -EINVAL when it is all zeros. But -EINVAL is also used for invalid args. The distinction between empty and all-zero is not very important, let's use the same return code. Also document -ENOENT and -ENOMEDIUM since they can be a bit surprising. |
||
---|---|---|
.. | ||
id128-util.c | ||
id128-util.h | ||
sd-id128.c |