summaryrefslogtreecommitdiffstats
path: root/src/libmach/map.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-23 22:33:04 +0000
committerrsc <devnull@localhost>2005-01-23 22:33:04 +0000
commitdd944ec72a26d0b380ba2af5f6c00310f2f1651e (patch)
tree2f40332ca2fcf189d347cf4f577cf613af21108f /src/libmach/map.c
parenta0e8d02d093e01fdadf8a16bc86fe18b0c4e82c3 (diff)
downloadplan9port-dd944ec72a26d0b380ba2af5f6c00310f2f1651e.tar.gz
plan9port-dd944ec72a26d0b380ba2af5f6c00310f2f1651e.zip
Start working through proper handling of pthreads when
debugging Linux core dumps. Pthreads for active processes is still not supported, nor are other systems.
Diffstat (limited to 'src/libmach/map.c')
-rw-r--r--src/libmach/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmach/map.c b/src/libmach/map.c
index bfb5f722..b20bd873 100644
--- a/src/libmach/map.c
+++ b/src/libmach/map.c
@@ -31,7 +31,7 @@ addseg(Map *map, Seg seg)
{
Seg *ss;
- if(map == 0){
+ if(map == nil){
werrstr("invalid map");
return -1;
}
@@ -57,7 +57,7 @@ findseg(Map *map, char *name, char *file)
{
int i;
- if(map == 0)
+ if(map == nil)
return -1;
for(i=0; i<map->nseg; i++){
if(name && (!map->seg[i].name || strcmp(map->seg[i].name, name) != 0))