summaryrefslogtreecommitdiff
path: root/src/udev/mtd_probe/probe_smartmedia.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-23 18:48:37 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-23 18:48:37 -0500
commit03e6b71c062769a7ed6c272d1fef1ff277104901 (patch)
tree4778c0a78821bb0a0df1f3e307a848befee908d5 /src/udev/mtd_probe/probe_smartmedia.c
parent703b7ccf41eb00ac55ea45c074816719b23c4caf (diff)
parent9ed794a32d4824c6a42fc222ea1054bb3d1394d7 (diff)
Merge pull request #2724 from vcaputo/minor-formatting-cleanups
tree-wide: minor formatting inconsistency cleanups
Diffstat (limited to 'src/udev/mtd_probe/probe_smartmedia.c')
-rw-r--r--src/udev/mtd_probe/probe_smartmedia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/mtd_probe/probe_smartmedia.c b/src/udev/mtd_probe/probe_smartmedia.c
index 6a6c5522a7..2a7ba17637 100644
--- a/src/udev/mtd_probe/probe_smartmedia.c
+++ b/src/udev/mtd_probe/probe_smartmedia.c
@@ -73,7 +73,7 @@ void probe_smart_media(int mtd_fd, mtd_info_t* info)
for (offset = 0 ; offset < block_size * spare_count ;
offset += sector_size) {
lseek(mtd_fd, SEEK_SET, offset);
- if (read(mtd_fd, cis_buffer, SM_SECTOR_SIZE) == SM_SECTOR_SIZE){
+ if (read(mtd_fd, cis_buffer, SM_SECTOR_SIZE) == SM_SECTOR_SIZE) {
cis_found = 1;
break;
}