diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | marsond.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,10 @@ Building The usual "make" and "make install". See the Makefile for variables you can adjust. +If you want to build a static binary, you can't do it with glibc, +due to it needing libnss_compat at runtime (for the getpwnam() and +getgrnam() calls). You'll have to use something like musl-libc. + Running the daemon ------------------ @@ -270,6 +270,8 @@ int main(int argc, char **argv) { die("write to /dev/uinput failed: %s", strerror(errno)); } + /* I was hoping the return value of this ioctl would be the + device number, but it's just 0 for no error. */ if(ioctl(outfd, UI_DEV_CREATE) >= 0) { debug("created virtual keyboard device"); } else { |