From 154221aba3bd1407ea60ef6b3d73a59143182e36 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 22 Jan 2019 18:21:23 -0800 Subject: Whitespace: remove tabs from indentation. I accidentally added a tab in xargs.c, so as penance I'll clean up all the tabs. --- toys/pending/dhcp.c | 2 +- toys/pending/dhcp6.c | 4 ++-- toys/pending/ip.c | 2 +- toys/pending/mdev.c | 6 +++--- toys/pending/modprobe.c | 15 +++++++-------- 5 files changed, 14 insertions(+), 15 deletions(-) (limited to 'toys/pending') diff --git a/toys/pending/dhcp.c b/toys/pending/dhcp.c index 25f9b913..d1f8e801 100644 --- a/toys/pending/dhcp.c +++ b/toys/pending/dhcp.c @@ -134,7 +134,7 @@ GLOBALS( static void (*dbg)(char *format, ...); static void dummy(char *format, ...){ - return; + return; } typedef struct dhcpc_result_s { diff --git a/toys/pending/dhcp6.c b/toys/pending/dhcp6.c index 755c1516..18aee8a3 100644 --- a/toys/pending/dhcp6.c +++ b/toys/pending/dhcp6.c @@ -254,8 +254,8 @@ static void mode_raw() error_exit("MODE RAW : Bind fail.\n"); } if (setsockopt(TT.sock, SOL_PACKET, PACKET_HOST,&constone, sizeof(int)) < 0) { - if (errno != ENOPROTOOPT) error_exit("MODE RAW : Bind fail.\n"); - } + if (errno != ENOPROTOOPT) error_exit("MODE RAW : Bind fail.\n"); + } } static void generate_transection_id() diff --git a/toys/pending/ip.c b/toys/pending/ip.c index 90f73308..68d4c2ca 100644 --- a/toys/pending/ip.c +++ b/toys/pending/ip.c @@ -1964,7 +1964,7 @@ static int route_update(char **argv, unsigned int route_flags) char* ptr; if (!*++argv) show_iproute_help(); metric = strtoul(*argv, &ptr, 0); - if (!(!*ptr && metric <= 0xFFFFFFFFUL)) + if (!(!*ptr && metric <= 0xFFFFFFFFUL)) error_exit("Invalid argument metric %s.",*argv); else res = metric; diff --git a/toys/pending/mdev.c b/toys/pending/mdev.c index d0bb0681..eb44d9d3 100644 --- a/toys/pending/mdev.c +++ b/toys/pending/mdev.c @@ -103,7 +103,7 @@ static void make_device(char *path) for(end = pos; end-confnext) { xchdir(dirs->arg); - if (!depmode_read_entry(toys.optargs[0])) - return; + if (!depmode_read_entry(toys.optargs[0])) return; } error_exit("no module found."); } @@ -563,8 +562,8 @@ void modprobe_main(void) } for (dirs = TT.dirs; dirs; dirs = dirs->next) { - xchdir(dirs->arg); - find_dep(); + xchdir(dirs->arg); + find_dep(); } while ((module = llist_popme(&TT.probes))) { -- cgit v1.2.3