summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru2012-02-28 17:06:10 -0600
committerAndroid Git Automerger2012-02-28 17:06:10 -0600
commit1e28088f42f9d04e4ab3abf080f956774b1e78d5 (patch)
tree29faf0ff5ee9847bc2678de9a89f3299e50e260b
parent428a6e3f562b043f74390806c49686d1f16fe99e (diff)
parent5cc398ef00b439bcf85b65c894433dd52362dff7 (diff)
downloadplatform-system-core-1e28088f42f9d04e4ab3abf080f956774b1e78d5.tar.gz
platform-system-core-1e28088f42f9d04e4ab3abf080f956774b1e78d5.tar.xz
platform-system-core-1e28088f42f9d04e4ab3abf080f956774b1e78d5.zip
am 5cc398ef: Merge "Toolbox implementation of chown has a bad print"
* commit '5cc398ef00b439bcf85b65c894433dd52362dff7': Toolbox implementation of chown has a bad print
-rw-r--r--toolbox/chown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/chown.c b/toolbox/chown.c
index e9d108bf8..7b24c5206 100644
--- a/toolbox/chown.c
+++ b/toolbox/chown.c
@@ -62,7 +62,7 @@ int chown_main(int argc, char **argv)
62 62
63 for (i = 2; i < argc; i++) { 63 for (i = 2; i < argc; i++) {
64 if (chown(argv[i], uid, gid) < 0) { 64 if (chown(argv[i], uid, gid) < 0) {
65 fprintf(stderr, "Unable to chmod %s: %s\n", argv[i], strerror(errno)); 65 fprintf(stderr, "Unable to chown %s: %s\n", argv[i], strerror(errno));
66 return 10; 66 return 10;
67 } 67 }
68 } 68 }