From 510a483aa14e5f843cfba16ff96d613822152e01 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 30 Aug 2002 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2002-08-30 --- port/chan.c | 2 +- port/edf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/port/chan.c b/port/chan.c index b5bf665bcbe342f76175f96080f22f2d633f7f60..9a0f00e27f5144bcc0ccad2cf504b544d46997fe 100644 --- a/port/chan.c +++ b/port/chan.c @@ -112,7 +112,7 @@ decref(Ref *r) x = --r->ref; unlock(r); if(x < 0) - panic("decref"); + panic("decref, pc=0x%lux", getcallerpc(&r)); return x; } diff --git a/port/edf.h b/port/edf.h index 03ba40b4670d8a38005927426b33998107a8061f..9013d572385a430b4181e78a784ba6f5b5e2d916 100644 --- a/port/edf.h +++ b/port/edf.h @@ -38,7 +38,7 @@ typedef enum Edfstate Edfstate; struct Edf { /* time intervals */ Ticks D; /* Deadline */ - Ticks Delta; /* Inherited deadline */ + Ticks Delta; /* Inherited deadline */ Ticks T; /* period */ Ticks C; /* Cost */ Ticks S; /* Slice: time remaining in this period */