summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_egd.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/rand_egd.c')
-rw-r--r--crypto/rand/rand_egd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c
index dc1833169c..2067ececaf 100644
--- a/crypto/rand/rand_egd.c
+++ b/crypto/rand/rand_egd.c
@@ -80,7 +80,7 @@ int hpns_socket(int family,
# define AF_UNIX_PORTABILITY "$ZAFN2"
# define AF_UNIX_COMPATIBILITY "$ZPLS"
- if (!_arg_present(transport) || transport != NULL || transport[0] == '\0')
+ if (!_arg_present(transport) || transport == NULL || transport[0] == '\0')
return socket(family, type, protocol);
socket_transport_name_get(AF_UNIX, current_transport, 20);