summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-06-27 19:33:57 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-06-27 19:33:57 (EDT)
commit12513209157f1933fbd046484f8a7dd411f1bb64 (patch)
treec8210807077bec6718d439119d06f971904ecebc
parent680815fe2a26d8c48b6abf3b42b0c0aa5ec64fc7 (diff)
helpers/mode: Fix new mode initialization
-rw-r--r--helpers/mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/mode.c b/helpers/mode.c
index e3e4878..fd66400 100644
--- a/helpers/mode.c
+++ b/helpers/mode.c
@@ -263,7 +263,7 @@ opkg_opk_helper_mode_parse(mode_t cur_mode, const char *mode_str,
mode.sym_mode = mode_str;
mode.new_mode = new_mode;
- *new_mode = 00000;
+ *new_mode = cur_mode;
return _opkg_opk_helper_mode_parse_symbolic_mode(&mode);
}