diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-02 17:36:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-02 17:36:40 +0100 |
commit | 171a011ad3a131671aeb5a98b9e3adf219ad2865 (patch) | |
tree | 0c877a3d1a37f10e37ad7168cfc52054aa0948a7 /dev-libs/libdaemon/files | |
parent | 75fc75ae1f0481ffdb78450e801a9b443ba641bd (diff) |
gentoo resync : 02.04.2018
Diffstat (limited to 'dev-libs/libdaemon/files')
-rw-r--r-- | dev-libs/libdaemon/files/0.14-man-page-typo-fix.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libdaemon/files/0.14-man-page-typo-fix.patch b/dev-libs/libdaemon/files/0.14-man-page-typo-fix.patch new file mode 100644 index 000000000000..70a6a0eb931f --- /dev/null +++ b/dev-libs/libdaemon/files/0.14-man-page-typo-fix.patch @@ -0,0 +1,38 @@ +Patch from Debian fixing typo that appears in man page. + + +diff --git a/examples/testd.c b/examples/testd.c +index 6557dff..f734173 100644 +--- a/examples/testd.c ++++ b/examples/testd.c +@@ -87,7 +87,7 @@ int main(int argc, char *argv[]) { + + /* Wait for 20 seconds for the return value passed from the daemon process */ + if ((ret = daemon_retval_wait(20)) < 0) { +- daemon_log(LOG_ERR, "Could not recieve return value from daemon process: %s", strerror(errno)); ++ daemon_log(LOG_ERR, "Could not receive return value from daemon process: %s", strerror(errno)); + return 255; + } + +diff --git a/libdaemon/dsignal.h b/libdaemon/dsignal.h +index 1719784..4030e41 100644 +--- a/libdaemon/dsignal.h ++++ b/libdaemon/dsignal.h +@@ -34,7 +34,7 @@ extern "C" { + * wish to handle with select() in your main loop with + * daemon_signal_init() or daemon_signal_install(). After that you + * should sleep on the file descriptor returned by daemon_signal_fd() +- * and get the next signal recieved with daemon_signal_next(). You ++ * and get the next signal received with daemon_signal_next(). You + * should call daemon_signal_done() before exiting. + */ + +@@ -54,7 +54,7 @@ int daemon_signal_install(int s); + */ + void daemon_signal_done(void); + +-/** Return the next signal recieved. This function will not ++/** Return the next signal received. This function will not + * block. Instead it returns 0 if no signal is queued. + * @return The next queued signal if one is queued, zero if none is + * queued, negative on failure. |