diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-07 11:11:37 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-08 14:23:40 +0300 |
commit | bc1040362c26828989e1a8ec2b22ebc9be20df20 (patch) | |
tree | 9321f0dad236045dab3636d8b1fca8243e390151 /flash_info.c | |
parent | d48fb7c2a92957ec306c6bc9dfb6f13330b81cbb (diff) |
flash_info: deprecate
Artem: tweak the warning message
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'flash_info.c')
-rw-r--r-- | flash_info.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flash_info.c b/flash_info.c index 6c518b2..d9a4492 100644 --- a/flash_info.c +++ b/flash_info.c @@ -27,6 +27,8 @@ int main(int argc, char *argv[]) { int fd, i, regcount; + warnmsg("this utility is deprecated in favor of `mtdinfo` and will be removed in mtd-utils-1.4.6"); + if (argc < 2) usage(1); if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) |