Просмотр исходного кода

Neaten up debug messages

tags/v0.9.3
Michael Brown 18 лет назад
Родитель
Сommit
67e824b539
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      src/arch/i386/drivers/net/undiload.c

+ 3
- 3
src/arch/i386/drivers/net/undiload.c Просмотреть файл

@@ -132,7 +132,7 @@ static int undi_load ( struct undi_device *undi, struct undi_rom *undirom ) {
132 132
 	fbms = ( fbms_seg >> 6 );
133 133
 	put_real ( fbms, BDA_SEG, BDA_FBMS );
134 134
 	undi->fbms = fbms;
135
-	DBGC ( undi, "UNDI %p using %dkB-%dkB\n",
135
+	DBGC ( undi, "UNDI %p using [%d,%d) kB of base memory\n",
136 136
 	       undi, undi->fbms, undi->restore_fbms );
137 137
 
138 138
 	return 0;
@@ -176,13 +176,13 @@ int undi_unload ( struct undi_device *undi ) {
176 176
 	/* Free base memory, if possible */
177 177
 	get_real ( fbms, BDA_SEG, BDA_FBMS );
178 178
 	if ( fbms == undi->fbms ) {
179
-		DBGC ( undi, "UNDI %p freeing %dkB-%dkB\n",
179
+		DBGC ( undi, "UNDI %p freeing [%d,%d) kB of base memory\n",
180 180
 		       undi, undi->fbms, undi->restore_fbms );
181 181
 		fbms = undi->restore_fbms;
182 182
 		put_real ( fbms, BDA_SEG, BDA_FBMS );
183 183
 		return 0;
184 184
 	} else {
185
-		DBGC ( undi, "UNDI %p leaking %dkB-%dkB\n",
185
+		DBGC ( undi, "UNDI %p leaking [%d,%d) kB of base memory\n",
186 186
 		       undi, undi->fbms, undi->restore_fbms );
187 187
 		return -EBUSY;
188 188
 	}

Загрузка…
Отмена
Сохранить