ucp: chmod parameters order fixed
authorAlexander Tsidaev <a.tsidaev@gmail.com>
Tue, 18 Nov 2014 10:46:37 +0000 (15:46 +0500)
committerAlexander Tsidaev <a.tsidaev@gmail.com>
Tue, 18 Nov 2014 10:46:37 +0000 (15:46 +0500)
Standalone/ucp.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index a4a5daa..f8f7f71
@@ -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;