diff options
author | 2013-05-24 18:04:43 +1000 | |
---|---|---|
committer | 2013-05-24 18:20:53 +1000 | |
commit | b9e80656f2de441826ed2ff1cd9c5d43b3ae43d3 (patch) | |
tree | d0f093d618038577d98fcd463e4b4e7b639ebc60 /fdtget.c | |
parent | 03449b84c8f9aee2bf2f438bec2c2ec4606bea48 (diff) |
util: drop "long" from usage helpers
Now that all utils have converted to the new usage framework, we can
rename to just plain "usage()" and avoid naming conflicts.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'fdtget.c')
-rw-r--r-- | fdtget.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -319,7 +319,7 @@ int main(int argc, char *argv[]) case 't': if (utilfdt_decode_type(optarg, &disp.type, &disp.size)) - long_usage("invalid type string"); + usage("invalid type string"); break; case 'p': @@ -341,7 +341,7 @@ int main(int argc, char *argv[]) if (optind < argc) filename = argv[optind++]; if (!filename) - long_usage("missing filename"); + usage("missing filename"); argv += optind; argc -= optind; @@ -352,7 +352,7 @@ int main(int argc, char *argv[]) /* Check for node, property arguments */ if (args_per_step == 2 && (argc % 2)) - long_usage("must have an even number of arguments"); + usage("must have an even number of arguments"); if (do_fdtget(&disp, filename, argv, argc, args_per_step)) return 1; |