X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fdebug.h;h=dcac25a88acfd20d54e32508d7a53aded28eee08;hp=7b5665d1b9920f614f5907a263ee8e398dd7d85a;hb=HEAD;hpb=5613f9fab88b71f14259856b390f1cc989b602bf diff --git a/include/debug.h b/include/debug.h index 7b5665d..dcac25a 100644 --- a/include/debug.h +++ b/include/debug.h @@ -1,7 +1,7 @@ /* * Debug defines * - * Copyright (C) 2001 Ethan Benson + * Copyright (C) 2001 Ethan Benson * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,8 +32,8 @@ prom_printf( fmt, ## args );\ } # define DEBUG_OPEN DEBUG_F( "dev=%s, part=0x%p (%d), file_name=%s\n",\ - dev_name, part, part ? part->part_number : -1,\ - file_name) + fspec->dev, part, part ? part->part_number : -1,\ + fspec->file) # define DEBUG_SLEEP prom_sleep(3) #else #define DEBUG_ENTER @@ -43,3 +43,10 @@ #define DEBUG_OPEN #define DEBUG_SLEEP #endif + +/* + * Local variables: + * c-file-style: "k&r" + * c-basic-offset: 5 + * End: + */