diff options
Diffstat (limited to 'usr.bin/finger/util.c')
-rw-r--r-- | usr.bin/finger/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c index 380c06682aa..b57351b63bb 100644 --- a/usr.bin/finger/util.c +++ b/usr.bin/finger/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.32 2015/12/26 20:51:35 guenther Exp $ */ +/* $OpenBSD: util.c,v 1.33 2018/06/17 14:58:27 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -104,7 +104,7 @@ userinfo(PERSON *pn, struct passwd *pw) if (!(p = strsep(&bp, ","))) return; expandusername(p, pw->pw_name, name, sizeof(name)); - if (stravis(&pn->realname, p, VIS_SAFE|VIS_NOSLASH) == -1) + if (stravis(&pn->realname, name, VIS_SAFE|VIS_NOSLASH) == -1) err(1, "stravis"); if ((p = strsep(&bp, ",")) && *p) { if (stravis(&pn->office, p, VIS_SAFE|VIS_NOSLASH) == -1) |