aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-26 23:25:17 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-26 23:25:17 +0000
commit467f463615e7329b267abea02da9ed9cedd2382b (patch)
treef4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /util-linux
parent6dc3a21627db11fa0f374afe29a6bbf4f89c8b64 (diff)
downloadbusybox-w32-467f463615e7329b267abea02da9ed9cedd2382b.tar.gz
busybox-w32-467f463615e7329b267abea02da9ed9cedd2382b.tar.bz2
busybox-w32-467f463615e7329b267abea02da9ed9cedd2382b.zip
rename functions to more understandable names
git-svn-id: svn://busybox.net/trunk/busybox@16447 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c2
-rw-r--r--util-linux/more.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 40a8d1bae..6e4bf6418 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -2771,7 +2771,7 @@ tryprocpt(void)
2771 char line[100], ptname[100], devname[120], *s; 2771 char line[100], ptname[100], devname[120], *s;
2772 int ma, mi, sz; 2772 int ma, mi, sz;
2773 2773
2774 procpt = bb_wfopen("/proc/partitions", "r"); 2774 procpt = fopen_or_warn("/proc/partitions", "r");
2775 2775
2776 while (fgets(line, sizeof(line), procpt)) { 2776 while (fgets(line, sizeof(line), procpt)) {
2777 if (sscanf(line, " %d %d %d %[^\n ]", 2777 if (sscanf(line, " %d %d %d %[^\n ]",
diff --git a/util-linux/more.c b/util-linux/more.c
index f68292e80..85209ce61 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -81,7 +81,7 @@ int more_main(int argc, char **argv)
81 if (argc == 0) { 81 if (argc == 0) {
82 file = stdin; 82 file = stdin;
83 } else 83 } else
84 file = bb_wfopen(*argv, "r"); 84 file = fopen_or_warn(*argv, "r");
85 if(file==0) 85 if(file==0)
86 goto loop; 86 goto loop;
87 87