diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml index ec70ca23f..e96980cb4 100644 --- a/chapter06/sysklogd.xml +++ b/chapter06/sysklogd.xml @@ -45,8 +45,7 @@ some conditions in klogd and fix an obsolete program construct: sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c -sed -i 's/union wait/int/' syslogd.c - +sed -i 's/union wait/int/' syslogd.c Compile the package: diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 917d3da58..db5e90429 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -121,7 +121,7 @@ set nocompatible set backspace=2 set mouse=r syntax on -if (&term == "iterm") || (&term == "putty") +if (&term == "xterm") || (&term == "putty") set background=dark endif