]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
uuidd: cosmetic coding style change
authorKarel Zak <kzak@redhat.com>
Wed, 7 Mar 2018 10:53:15 +0000 (11:53 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Mar 2018 10:53:15 +0000 (11:53 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/uuidd.c

index ca2ae8cf7e39764a36b13945f0714e029049b690..8b83d91c045b6fb17ee105d2e87bfbec00773905 100644 (file)
@@ -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;