diff options
author | 2002-06-09 05:27:50 +0000 | |
---|---|---|
committer | 2002-06-09 05:27:50 +0000 | |
commit | b658e210c20abc0558d1d30d592bab1e8e2aa48a (patch) | |
tree | 571d9e52c02e9207f837f4701556d98f0256e6a4 /bin/systrace/util.c | |
parent | Ah, seems we've seen this problem before (macro's with wrong name) (diff) | |
download | wireguard-openbsd-b658e210c20abc0558d1d30d592bab1e8e2aa48a.tar.xz wireguard-openbsd-b658e210c20abc0558d1d30d592bab1e8e2aa48a.zip |
some knf.
Diffstat (limited to 'bin/systrace/util.c')
-rw-r--r-- | bin/systrace/util.c | 4 |
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 |