From 1945910cd1ccfb2788318c27acf102735eb8810b Mon Sep 17 00:00:00 2001 From: Alexander Tsidaev Date: Tue, 18 Nov 2014 15:46:37 +0500 Subject: [PATCH] ucp: chmod parameters order fixed --- Standalone/ucp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 Standalone/ucp.c diff --git a/Standalone/ucp.c b/Standalone/ucp.c old mode 100644 new mode 100755 index a4a5daaf..f8f7f713 --- a/Standalone/ucp.c +++ b/Standalone/ucp.c @@ -30,7 +30,7 @@ int match(char *cmd); void usage(void); void prmode(int mode); int ls(char *path); -int chmod( char *path, char *modes); +int chmod(char *modes, char *path); int mknod( char *path, char *modes, char *devs); int mkdir(char *path); int get( char *arg, int binflag); @@ -377,7 +377,7 @@ int ls(char *path) return 0; } -int chmod( char *path, char *modes) +int chmod(char *modes, char *path) { int mode; -- 2.34.1