diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2020-06-30 04:04:27 +0200 |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2020-06-30 04:30:25 +0200 |
commit | 9387064ca492490ff05655a99668c348794838a5 (patch) | |
tree | 0b2262247e7ce151c9b39b9df10bb856c3ef366d | |
parent | Enable more compiler warnings (diff) | |
download | haveged-9387064ca492490ff05655a99668c348794838a5.tar.xz haveged-9387064ca492490ff05655a99668c348794838a5.zip |
Avoid using gnu printf specifier
http://www.gnu.org/software/libc/manual/html_node/Other-Output-Conversions.html
-rw-r--r-- | src/haveged.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haveged.c b/src/haveged.c index ea0c2c1..aecd7f6 100644 --- a/src/haveged.c +++ b/src/haveged.c @@ -408,7 +408,7 @@ int main(int argc, char **argv) fprintf(stderr, "%s: please check if there is another instance of haveged running\n", params->daemon); fprintf(stderr, "%s: disabling command mode for this instance\n", params->daemon); } else { - fprintf(stderr, "%s: can not initialize command socket: %m\n", params->daemon); + fprintf(stderr, "%s: can not initialize command socket: %s\n", params->daemon, strerror(errno)); } } } |