diff options
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/hdparm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 97f1b5752..b90142362 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
| @@ -2058,13 +2058,13 @@ static void identify_from_stdin(void) | |||
| 2058 | /* busybox specific stuff */ | 2058 | /* busybox specific stuff */ |
| 2059 | static void parse_opts(unsigned long *get, unsigned long *set, unsigned long *value, int min, int max) | 2059 | static void parse_opts(unsigned long *get, unsigned long *set, unsigned long *value, int min, int max) |
| 2060 | { | 2060 | { |
| 2061 | if (get) { | 2061 | if (get) { |
| 2062 | *get = 1; | 2062 | *get = 1; |
| 2063 | } | 2063 | } |
| 2064 | if (optarg) { | 2064 | if (optarg) { |
| 2065 | *set = 1; | 2065 | *set = 1; |
| 2066 | *value = bb_xgetlarg(optarg, 10, min, max); | 2066 | *value = bb_xgetlarg(optarg, 10, min, max); |
| 2067 | } | 2067 | } |
| 2068 | } | 2068 | } |
| 2069 | 2069 | ||
| 2070 | static void parse_xfermode(int flag, unsigned long *get, unsigned long *set, int *value) | 2070 | static void parse_xfermode(int flag, unsigned long *get, unsigned long *set, int *value) |
