summaryrefslogtreecommitdiff
path: root/flashcp.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-11 18:30:57 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-18 17:44:45 +0300
commite777b6032364e6fa9b5ff90c1ba2bdb6167bf24f (patch)
tree13a8b57aa7a638fb91f2d722235565c78e2f1cbe /flashcp.c
parent8b625290dc38d0b9af7dbe896861f11ef75eea1e (diff)
fs-tests: integck: clean-up copy_string
This is a clean-up patch which: 1. Simplifies copy_string by useng strdup instead of malloc 2. Adds an assertion which checks the input parameter agains NULL, instead of checking it. 3. Re-names it to dup_string which looks more readable to me. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'flashcp.c')
0 files changed, 0 insertions, 0 deletions