diff options
author | Elliott Hughes <enh@google.com> | 2019-01-22 18:21:23 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-01-22 22:20:46 -0600 |
commit | 154221aba3bd1407ea60ef6b3d73a59143182e36 (patch) | |
tree | 031477aa20c2d2230758089b8d82bb2ceb367237 /toys/pending/mdev.c | |
parent | bbadc5e14136a4a2011080c08e064108d71e1429 (diff) | |
download | toybox-154221aba3bd1407ea60ef6b3d73a59143182e36.tar.gz |
Whitespace: remove tabs from indentation.
I accidentally added a tab in xargs.c, so as penance I'll clean up all
the tabs.
Diffstat (limited to 'toys/pending/mdev.c')
-rw-r--r-- | toys/pending/mdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
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-conf<len && *end!='\n'; end++); // Four fields (last is optional): regex, uid:gid, mode [, name|path ] - // For example: (sd[a-z])1 root:disk 660 =usb_storage_p1 + // For example: (sd[a-z])1 root:disk 660 =usb_storage_p1 for (field = 4; field; field--) { // Skip whitespace while (pos<end && isspace(*pos)) pos++; @@ -169,11 +169,11 @@ static void make_device(char *path) { char *beg_pos = pos; mode = strtoul(pos, &pos, 8); - if(pos == beg_pos) { + if (pos == beg_pos) { // The line is bad because mode setting could not be // converted to numeric value. goto end_line; - } + } break; } // Try to look for name or path (optional field) |