From: Alexander Tsidaev Date: Tue, 18 Nov 2014 10:46:37 +0000 (+0500) Subject: ucp: chmod parameters order fixed X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=1945910cd1ccfb2788318c27acf102735eb8810b;p=FUZIX.git ucp: chmod parameters order fixed --- 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;