]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: efivars - fix compile on non-EFI systems
authorTom Gundersen <teg@jklm.no>
Fri, 10 Apr 2015 17:44:06 +0000 (19:44 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 10 Apr 2015 17:55:49 +0000 (19:55 +0200)
commitb28ce7c6dbe341d6f5769d31014ab8411257db7d
tree7a5b73677c7f47093ab78e9e82ecab7f3790872c
parent9df49b33583e8a7d0a252bc5bd532fd2448ef0c8
shared: efivars - fix compile on non-EFI systems

systemctl and logind were unconditionally using functions that were not compiled
on non-EFI systems. Add stubs returning -EOPNOTSUPP to fix compile again.
src/shared/efivars.c
src/shared/efivars.h