aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-26 14:32:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-26 14:32:57 +0000
commitf5d8c90d73777d912ddffea9dd7c537c3a1a43a5 (patch)
treea358be6a258f4c7c8905f1809737e74413df26c6 /util-linux
parent2649f215aecf923713d2f9a379cf651437ddf499 (diff)
downloadbusybox-w32-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.tar.gz
busybox-w32-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.tar.bz2
busybox-w32-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.zip
style fixes, no code changes
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c2
-rw-r--r--util-linux/getopt.c4
-rw-r--r--util-linux/volume_id/util.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 5871a065a..4034ca555 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -1807,7 +1807,7 @@ check_consistency(const struct partition *p, int partition)
1807 printf("Partition %d has different physical/logical " 1807 printf("Partition %d has different physical/logical "
1808 "beginnings (non-Linux?):\n", partition + 1); 1808 "beginnings (non-Linux?):\n", partition + 1);
1809 printf(" phys=(%d, %d, %d) ", pbc, pbh, pbs); 1809 printf(" phys=(%d, %d, %d) ", pbc, pbh, pbs);
1810 printf("logical=(%d, %d, %d)\n",lbc, lbh, lbs); 1810 printf("logical=(%d, %d, %d)\n", lbc, lbh, lbs);
1811 } 1811 }
1812 1812
1813/* Same physical / logical ending? */ 1813/* Same physical / logical ending? */
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index e3b4ca625..bdf5f9716 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -255,9 +255,9 @@ static struct option *add_long_options(struct option *long_options, char *option
255 255
256static void set_shell(const char *new_shell) 256static void set_shell(const char *new_shell)
257{ 257{
258 if (!strcmp(new_shell,"bash") || !strcmp(new_shell,"sh")) 258 if (!strcmp(new_shell, "bash") || !strcmp(new_shell, "sh"))
259 return; 259 return;
260 if (!strcmp(new_shell,"tcsh") || !strcmp(new_shell,"csh")) 260 if (!strcmp(new_shell, "tcsh") || !strcmp(new_shell, "csh"))
261 option_mask32 |= SHELL_IS_TCSH; 261 option_mask32 |= SHELL_IS_TCSH;
262 else 262 else
263 bb_error_msg("unknown shell '%s', assuming bash", new_shell); 263 bb_error_msg("unknown shell '%s', assuming bash", new_shell);
diff --git a/util-linux/volume_id/util.c b/util-linux/volume_id/util.c
index 240b3c1e3..315d75ca6 100644
--- a/util-linux/volume_id/util.c
+++ b/util-linux/volume_id/util.c
@@ -165,12 +165,12 @@ set:
165 buf[3], buf[2], buf[1], buf[0]); 165 buf[3], buf[2], buf[1], buf[0]);
166 break; 166 break;
167 case UUID_NTFS: 167 case UUID_NTFS:
168 sprintf(id->uuid,"%02X%02X%02X%02X%02X%02X%02X%02X", 168 sprintf(id->uuid, "%02X%02X%02X%02X%02X%02X%02X%02X",
169 buf[7], buf[6], buf[5], buf[4], 169 buf[7], buf[6], buf[5], buf[4],
170 buf[3], buf[2], buf[1], buf[0]); 170 buf[3], buf[2], buf[1], buf[0]);
171 break; 171 break;
172 case UUID_HFS: 172 case UUID_HFS:
173 sprintf(id->uuid,"%02X%02X%02X%02X%02X%02X%02X%02X", 173 sprintf(id->uuid, "%02X%02X%02X%02X%02X%02X%02X%02X",
174 buf[0], buf[1], buf[2], buf[3], 174 buf[0], buf[1], buf[2], buf[3],
175 buf[4], buf[5], buf[6], buf[7]); 175 buf[4], buf[5], buf[6], buf[7]);
176 break; 176 break;