[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] TFTP: fix search of ':' in BootFile
From: |
Jean-Christophe PLAGNIOL-VILLARD |
Subject: |
[Qemu-devel] [PATCH] TFTP: fix search of ':' in BootFile |
Date: |
Sun, 24 Feb 2008 16:56:42 +0100 |
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <address@hidden>
diff --git a/net/tftp.c b/net/tftp.c
index 3dd2b06..ea8fea2 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -474,7 +474,7 @@ TftpStart (void)
printf ("*** Warning: no boot file name; using '%s'\n",
tftp_filename);
} else {
- char *p = strchr (p, ':');
+ char *p = strchr (BootFile, ':');
if (p == NULL) {
strncpy(tftp_filename, BootFile, MAX_LEN);
--
1.5.3.7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] TFTP: fix search of ':' in BootFile,
Jean-Christophe PLAGNIOL-VILLARD <=