aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mv.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /coreutils/mv.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'coreutils/mv.c')
-rw-r--r--coreutils/mv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c
index 064407838..4cd0fcfba 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -21,7 +21,7 @@
21#include "libcoreutils/coreutils.h" 21#include "libcoreutils/coreutils.h"
22 22
23#if ENABLE_FEATURE_MV_LONG_OPTIONS 23#if ENABLE_FEATURE_MV_LONG_OPTIONS
24static const char mv_longopts[] = 24static const char mv_longopts[] ALIGN1 =
25 "interactive\0" No_argument "i" 25 "interactive\0" No_argument "i"
26 "force\0" No_argument "f" 26 "force\0" No_argument "f"
27 ; 27 ;
@@ -30,7 +30,8 @@ static const char mv_longopts[] =
30#define OPT_FILEUTILS_FORCE 1 30#define OPT_FILEUTILS_FORCE 1
31#define OPT_FILEUTILS_INTERACTIVE 2 31#define OPT_FILEUTILS_INTERACTIVE 2
32 32
33static const char fmt[] = "cannot overwrite %sdirectory with %sdirectory"; 33static const char fmt[] ALIGN1 =
34 "cannot overwrite %sdirectory with %sdirectory";
34 35
35int mv_main(int argc, char **argv); 36int mv_main(int argc, char **argv);
36int mv_main(int argc, char **argv) 37int mv_main(int argc, char **argv)