diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/readprofile.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index dbe7c7171..c6152558c 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c | |||
@@ -88,10 +88,7 @@ int readprofile_main(int argc, char **argv) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | fd = xopen(defaultpro, O_WRONLY); | 90 | fd = xopen(defaultpro, O_WRONLY); |
91 | 91 | xwrite(fd, &multiplier, to_write); | |
92 | if (full_write(fd, &multiplier, to_write) != to_write) | ||
93 | bb_perror_msg_and_die("error writing %s", defaultpro); | ||
94 | |||
95 | close(fd); | 92 | close(fd); |
96 | return EXIT_SUCCESS; | 93 | return EXIT_SUCCESS; |
97 | } | 94 | } |