X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fpci%2Fhotplug.c;h=42b23049a7fcde2f38d5b6c9f3dbeb17c671951b;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=213a1a3b499c3cf80b600d53a89e750e7993d208;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/pci/hotplug.c b/drivers/pci/hotplug.c index 213a1a3b4..42b23049a 100644 --- a/drivers/pci/hotplug.c +++ b/drivers/pci/hotplug.c @@ -59,7 +59,7 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp, if ((buffer_size - length <= 0) || (i >= num_envp)) return -ENOMEM; - envp[i] = 0; + envp[i] = NULL; return 0; }