diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-04 11:36:16 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-04 11:36:16 -0600 |
commit | a85ac9c7d4f47c9a0ee0517af4deecdd6809bd11 (patch) | |
tree | f0f38bb5f8c3002fd1d13f874940d688faae734a | |
parent | ed13c4b7cedc47b9d5cc835955b168469986111c (diff) | |
download | nuttx-a85ac9c7d4f47c9a0ee0517af4deecdd6809bd11.tar.gz nuttx-a85ac9c7d4f47c9a0ee0517af4deecdd6809bd11.tar.bz2 nuttx-a85ac9c7d4f47c9a0ee0517af4deecdd6809bd11.zip |
Fix a badly applied patch (actually, non-applied because --dry-run was set)
-rw-r--r-- | nuttx/drivers/mtd/mtd_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/mtd/mtd_config.c b/nuttx/drivers/mtd/mtd_config.c index d13c5083a..73112d803 100644 --- a/nuttx/drivers/mtd/mtd_config.c +++ b/nuttx/drivers/mtd/mtd_config.c @@ -1085,7 +1085,7 @@ retry: { /* Mark this entry as released */ - hdr.flags = (uint8_t~MTD_ERASED_FLAGS; + hdr.flags = (uint8_t)~MTD_ERASED_FLAGS; mtdconfig_writebytes(dev, offset, &hdr.flags, sizeof(hdr.flags)); } |