diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk_gpt.c | 4 | ||||
-rw-r--r-- | util-linux/rev.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/fdisk_gpt.c b/util-linux/fdisk_gpt.c index e884e3dc1..4c30f31f8 100644 --- a/util-linux/fdisk_gpt.c +++ b/util-linux/fdisk_gpt.c | |||
@@ -87,7 +87,7 @@ gpt_print_wide36(uint16_t *s) | |||
87 | } | 87 | } |
88 | wc[i] = 0; | 88 | wc[i] = 0; |
89 | if (wcstombs(buf, wc, sizeof(buf)) <= sizeof(buf)-1) | 89 | if (wcstombs(buf, wc, sizeof(buf)) <= sizeof(buf)-1) |
90 | fputs(printable_string(buf), stdout); | 90 | fputs_stdout(printable_string(buf)); |
91 | #else | 91 | #else |
92 | char buf[37]; | 92 | char buf[37]; |
93 | int i = 0; | 93 | int i = 0; |
@@ -98,7 +98,7 @@ gpt_print_wide36(uint16_t *s) | |||
98 | i++; | 98 | i++; |
99 | } | 99 | } |
100 | buf[i] = '\0'; | 100 | buf[i] = '\0'; |
101 | fputs(buf, stdout); | 101 | fputs_stdout(buf); |
102 | #endif | 102 | #endif |
103 | } | 103 | } |
104 | 104 | ||
diff --git a/util-linux/rev.c b/util-linux/rev.c index 31800fa51..cfcd12392 100644 --- a/util-linux/rev.c +++ b/util-linux/rev.c | |||
@@ -112,7 +112,7 @@ int rev_main(int argc UNUSED_PARAM, char **argv) | |||
112 | #else | 112 | #else |
113 | strrev(buf, strlen(buf)); | 113 | strrev(buf, strlen(buf)); |
114 | #endif | 114 | #endif |
115 | fputs(buf, stdout); | 115 | fputs_stdout(buf); |
116 | } | 116 | } |
117 | fclose(fp); | 117 | fclose(fp); |
118 | } while (*argv); | 118 | } while (*argv); |