ustd: get_subbuffer: assume prog died if trace cannot be found
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:30:04 +0000 (00:30 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:30:04 +0000 (00:30 -0500)
ustd/ustd.c

index 95dbdcaeaceb8c9501c44132ff251e413028de00..aae4b0248ba0a9a689ecb9f4de8f969c64e6d5f3 100644 (file)
@@ -100,7 +100,7 @@ int get_subbuffer(struct buffer_info *buf)
        }
        else if(!strcmp(received_msg, "NOTFOUND")) {
                DBG("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name);
-               retval = GET_SUBBUF_DONE;
+               retval = GET_SUBBUF_DIED;
                goto end_rep;
        }
        else {
This page took 0.024148 seconds and 4 git commands to generate.