aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/news.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-13 04:49:19 +0000
committerrsc <devnull@localhost>2005-01-13 04:49:19 +0000
commitc8b6342d3c2a167dec16931815926e9e4387e7ef (patch)
tree80d3ec6ea074462b30639168113def880476dad6 /src/cmd/news.c
parent741f510ce758f77ed5193256fb693a09a7daecce (diff)
downloadplan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.tar.gz
plan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.tar.bz2
plan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.zip
Many small edits.
Diffstat (limited to 'src/cmd/news.c')
-rw-r--r--src/cmd/news.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/news.c b/src/cmd/news.c
index c6a99a30..bdffaa39 100644
--- a/src/cmd/news.c
+++ b/src/cmd/news.c
@@ -101,7 +101,7 @@ read_dir(int update)
n_count = 0;
n_list = malloc(NINC*sizeof(File));
na = NINC;
- home = getenv("home");
+ home = getenv("HOME");
if(home) {
sprint(newstime, TFILE, home);
d = dirstat(newstime);