ia64/xen-unstable

changeset 8617:f3ce4d76650c

fix xenbus_scanf called with NULL instead of XBT_NULL.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vhanquez@kneesa.uk.xensource.com
date Mon Jan 16 21:48:24 2006 +0000 (2006-01-16)
parents 7eaa8d1a4ea0
children 49c3b00484ff
files linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c	Mon Jan 16 21:43:17 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c	Mon Jan 16 21:48:24 2006 +0000
     1.3 @@ -364,7 +364,7 @@ static int tpmfront_probe(struct xenbus_
     1.4  	struct tpmfront_info *info;
     1.5  	int handle;
     1.6  
     1.7 -	err = xenbus_scanf(NULL, dev->nodename,
     1.8 +	err = xenbus_scanf(XBT_NULL, dev->nodename,
     1.9  	                   "handle", "%i", &handle);
    1.10  	if (XENBUS_EXIST_ERR(err))
    1.11  		return err;