diff options
author | Karel Zak | 2018-03-07 11:53:15 +0100 |
---|---|---|
committer | Karel Zak | 2018-03-07 11:53:15 +0100 |
commit | 2446d0487fb7283ddbc9ed8f6e705476919303f9 (patch) | |
tree | 0e0a8137a72ea323cc72399f7d79c16e07dea220 /misc-utils/uuidd.c | |
parent | uuidd: don't truncate long socket paths (diff) | |
download | kernel-qcow2-util-linux-2446d0487fb7283ddbc9ed8f6e705476919303f9.tar.gz kernel-qcow2-util-linux-2446d0487fb7283ddbc9ed8f6e705476919303f9.tar.xz kernel-qcow2-util-linux-2446d0487fb7283ddbc9ed8f6e705476919303f9.zip |
uuidd: cosmetic coding style change
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/uuidd.c')
-rw-r--r-- | misc-utils/uuidd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c index ca2ae8cf7..8b83d91c0 100644 --- a/misc-utils/uuidd.c +++ b/misc-utils/uuidd.c @@ -636,9 +636,8 @@ int main(int argc, char **argv) } } - if (strlen(socket_path) >= sizeof(((struct sockaddr_un *)0)->sun_path)) { + if (strlen(socket_path) >= sizeof(((struct sockaddr_un *)0)->sun_path)) errx(EXIT_FAILURE, _("socket name too long: %s"), socket_path); - } if (!no_pid && !pidfile_path) pidfile_path = UUIDD_PIDFILE_PATH; |