Toolbox implementation of chown has a bad print

When the chown program fails it prints out an error message
and is describing itself as chmod. This has been corrected.

Change-Id: I2c489975f09343bdf66acbf7df6e7183c2daff78
Signed-off-by: christian bejram <christian.bejram@stericsson.com>
This commit is contained in:
Johan Norberg 2011-05-24 16:13:21 +02:00 committed by Kenny Root
parent fa7860a27f
commit 69ab6de333
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ int chown_main(int argc, char **argv)
for (i = 2; i < argc; i++) {
if (chown(argv[i], uid, gid) < 0) {
fprintf(stderr, "Unable to chmod %s: %s\n", argv[i], strerror(errno));
fprintf(stderr, "Unable to chown %s: %s\n", argv[i], strerror(errno));
return 10;
}
}