bb_applet_name -> applet_name
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
/* option vars */
|
||||
static const char optstring[] = "b:c:f:d:sn";
|
||||
|
||||
#define CUT_OPT_BYTE_FLGS (1<<0)
|
||||
#define CUT_OPT_CHAR_FLGS (1<<1)
|
||||
#define CUT_OPT_FIELDS_FLGS (1<<2)
|
||||
|
||||
@@ -87,7 +87,7 @@ int dos2unix_main(int argc, char *argv[])
|
||||
int o;
|
||||
|
||||
/* See if we are supposed to be doing dos2unix or unix2dos */
|
||||
if (bb_applet_name[0] == 'd') {
|
||||
if (applet_name[0] == 'd') {
|
||||
ConvType = CT_DOS2UNIX; /*2 */
|
||||
} else {
|
||||
ConvType = CT_UNIX2DOS; /*1 */
|
||||
|
||||
Reference in New Issue
Block a user