diff options
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; |