diff options
author | thierry <thierry@FreeBSD.org> | 2011-12-24 00:44:11 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2011-12-24 00:44:11 +0800 |
commit | 771fc4116709eae7d913be5f2398bb24b226d2fa (patch) | |
tree | ecf590b718ef78cb946216993dc6d34840248287 /x11 | |
parent | a26d153415873cd71dc82dd069cb68cf125a1e06 (diff) | |
download | freebsd-ports-gnome-771fc4116709eae7d913be5f2398bb24b226d2fa.tar.gz freebsd-ports-gnome-771fc4116709eae7d913be5f2398bb24b226d2fa.tar.zst freebsd-ports-gnome-771fc4116709eae7d913be5f2398bb24b226d2fa.zip |
Fix build on 9.x.
PR: ports/163561
Submitted by: Guido Falsi <mad (at) madpilot.net>
Patch from: flo
Diffstat (limited to 'x11')
-rw-r--r-- | x11/rxvt-unicode/files/patch-libptytty-src-logging.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C index 0f1b887bedc3..dd856dbf2649 100644 --- a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C +++ b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C @@ -5,7 +5,7 @@ // records, but most implementations of last use ut_line to // associate records in wtmp file - strncpy (utx->ut_line, line, sizeof (utx->ut_line)); -+ if(id) ++ if(line) + strncpy (utx->ut_line, line, sizeof (utx->ut_line)); fill_id (utx->ut_id, line, sizeof (utx->ut_id)); utx->ut_pid = pid; |