[PATCH] w1: Fixed 64bit compilation warning.
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Thu, 11 Aug 2005 09:45:54 +0000 (13:45 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 21:41:26 +0000 (14:41 -0700)
Fixed 64bit compilation warning.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/w1/w1.c

index 9c7777b6bbdc5b275647671ac90c9244b64efb54..b2fe0f7b0b7c4de10afe12652de6c5a68f67b304 100644 (file)
@@ -373,7 +373,7 @@ static int w1_hotplug(struct device *dev, char **envp, int num_envp, char *buffe
        if (err)
                return err;
 
-       err = add_hotplug_env_var(envp, num_envp, &cur_index, buffer, buffer_size, &cur_len, "W1_SLAVE_ID=%024llX", sl->reg_num.id);
+       err = add_hotplug_env_var(envp, num_envp, &cur_index, buffer, buffer_size, &cur_len, "W1_SLAVE_ID=%024LX", (u64)sl->reg_num.id);
        if (err)
                return err;