aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-08 17:31:55 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-08 17:31:55 +0000
commit9cbf3f5f16eafd3ad99ad149a4600985d0ea8b3a (patch)
treeaff74eaa70da2da4ea68915687eeb354df2f74da /libbb
parent51783cc411b91df0b27e2abefea824e678313513 (diff)
downloadbusybox-w32-9cbf3f5f16eafd3ad99ad149a4600985d0ea8b3a.tar.gz
busybox-w32-9cbf3f5f16eafd3ad99ad149a4600985d0ea8b3a.tar.bz2
busybox-w32-9cbf3f5f16eafd3ad99ad149a4600985d0ea8b3a.zip
few random readability enhansements. No code changes
git-svn-id: svn://busybox.net/trunk/busybox@16076 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/device_open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/device_open.c b/libbb/device_open.c
index d34557b5a..c788b6982 100644
--- a/libbb/device_open.c
+++ b/libbb/device_open.c
@@ -20,6 +20,7 @@ int device_open(const char *device, int mode)
20 m = mode | O_NONBLOCK; 20 m = mode | O_NONBLOCK;
21 21
22 /* Retry up to 5 times */ 22 /* Retry up to 5 times */
23 /* TODO: explain why it can't be considered insane */
23 for (f = 0; f < 5; f++) 24 for (f = 0; f < 5; f++)
24 if ((fd = open(device, m, 0600)) >= 0) 25 if ((fd = open(device, m, 0600)) >= 0)
25 break; 26 break;