aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-19 19:34:22 +0000
committerrsc <devnull@localhost>2004-04-19 19:34:22 +0000
commitc2a9c3bb4efbad76a7971e314bdd791bbe5044ae (patch)
tree80d7589c175ac1e5138cd963ef90909f7d6e712b /src/cmd/acid
parentf91245eb2943cbacabb69ee8f0b68310ed23e6bd (diff)
downloadplan9port-c2a9c3bb4efbad76a7971e314bdd791bbe5044ae.tar.gz
plan9port-c2a9c3bb4efbad76a7971e314bdd791bbe5044ae.tar.bz2
plan9port-c2a9c3bb4efbad76a7971e314bdd791bbe5044ae.zip
handle pids without files correctly.
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acid/main.c b/src/cmd/acid/main.c
index dccff268..559839f3 100644
--- a/src/cmd/acid/main.c
+++ b/src/cmd/acid/main.c
@@ -213,7 +213,7 @@ attachfiles(int argc, char **argv)
}
/* XXX pull command from core */
- if((hdr = crackhdr(symfil, omode)) == nil){
+ if((symhdr = crackhdr(symfil, omode)) == nil){
fprint(2, "crackhdr %s: %r\n", symfil);
symfil = nil;
}