diff options
author | Denis Vlasenko | 2006-09-08 17:31:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-08 17:31:55 +0000 |
commit | bd8f43dbab871d19484887556632af50749786b6 (patch) | |
tree | aff74eaa70da2da4ea68915687eeb354df2f74da /libbb/device_open.c | |
parent | 9a9edf200b797a92380b634d57dec6cd9410919f (diff) | |
download | busybox-bd8f43dbab871d19484887556632af50749786b6.zip busybox-bd8f43dbab871d19484887556632af50749786b6.tar.gz |
few random readability enhansements. No code changes
Diffstat (limited to 'libbb/device_open.c')
-rw-r--r-- | libbb/device_open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/device_open.c b/libbb/device_open.c index d34557b..c788b69 100644 --- a/libbb/device_open.c +++ b/libbb/device_open.c @@ -20,6 +20,7 @@ int device_open(const char *device, int mode) m = mode | O_NONBLOCK; /* Retry up to 5 times */ + /* TODO: explain why it can't be considered insane */ for (f = 0; f < 5; f++) if ((fd = open(device, m, 0600)) >= 0) break; |