Systemd/src/libsystemd/sd-id128
Zbigniew Jędrzejewski-Szmek ea03f6ba0d sd-id128: return -ENOMEDIUM on null id
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.
2018-05-31 13:04:18 +02:00
..
id128-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
id128-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
sd-id128.c sd-id128: return -ENOMEDIUM on null id 2018-05-31 13:04:18 +02:00