aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-02-05 11:24:06 +0000
committerRon Yorston <rmy@pobox.com>2021-02-05 11:24:06 +0000
commit32e19e7ae8b0d76d69871ba234e8f0af31baff4e (patch)
tree6fdc833a444e0dd6fd359b21a8d463856917a387 /util-linux
parent4fb71406b884c6ac0a9a4d2acf7a32b544611f70 (diff)
parentcad3fc743aa7c7744e4fcf044371f0fda50fa51f (diff)
downloadbusybox-w32-32e19e7ae8b0d76d69871ba234e8f0af31baff4e.tar.gz
busybox-w32-32e19e7ae8b0d76d69871ba234e8f0af31baff4e.tar.bz2
busybox-w32-32e19e7ae8b0d76d69871ba234e8f0af31baff4e.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk_gpt.c4
-rw-r--r--util-linux/rev.c2
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);