Changeset 1770 in MondoRescue for branches/stable/mindi-busybox/libbb/device_open.c
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/libbb/device_open.c
r821 r1770 8 8 */ 9 9 10 #include <stdio.h>11 #include <fcntl.h>12 10 #include "libbb.h" 13 14 11 15 12 /* try to open up the specified device */ … … 21 18 22 19 /* Retry up to 5 times */ 20 /* TODO: explain why it can't be considered insane */ 23 21 for (f = 0; f < 5; f++) 24 22 if ((fd = open(device, m, 0600)) >= 0)
Note:
See TracChangeset
for help on using the changeset viewer.