aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/pxe/pxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/pxe/pxe.c')
-rw-r--r--core/fs/pxe/pxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/pxe/pxe.c b/core/fs/pxe/pxe.c
index 3e903367..4d694a1f 100644
--- a/core/fs/pxe/pxe.c
+++ b/core/fs/pxe/pxe.c
@@ -457,7 +457,7 @@ static int pxe_chdir(struct fs_info *fs, const char *src)
/* The cwd for PXE is just a text prefix */
enum url_type path_type = url_type(src);
- if (url_type == URL_SUFFIX)
+ if (path_type == URL_SUFFIX)
strlcat(fs->cwd_name, src, sizeof fs->cwd_name);
else
strlcpy(fs->cwd_name, src, sizeof fs->cwd_name);