summaryrefslogtreecommitdiffstats
path: root/bin/systrace/util.c
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2002-06-09 05:27:50 +0000
committertodd <todd@openbsd.org>2002-06-09 05:27:50 +0000
commitb658e210c20abc0558d1d30d592bab1e8e2aa48a (patch)
tree571d9e52c02e9207f837f4701556d98f0256e6a4 /bin/systrace/util.c
parentAh, seems we've seen this problem before (macro's with wrong name) (diff)
downloadwireguard-openbsd-b658e210c20abc0558d1d30d592bab1e8e2aa48a.tar.xz
wireguard-openbsd-b658e210c20abc0558d1d30d592bab1e8e2aa48a.zip
some knf.
Diffstat (limited to 'bin/systrace/util.c')
-rw-r--r--bin/systrace/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/util.c b/bin/systrace/util.c
index d8130c1da3d..9e43a8e2c69 100644
--- a/bin/systrace/util.c
+++ b/bin/systrace/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.4 2002/06/04 22:45:25 provos Exp $ */
+/* $OpenBSD: util.c,v 1.5 2002/06/09 05:27:50 todd Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -74,7 +74,7 @@ uid_to_name(uid_t uid)
{
static char buf[128];
struct passwd *pw;
-
+
if ((pw = getpwuid(uid)) == NULL)
snprintf(buf, sizeof(buf), "uid %d", uid);
else