From ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 26 Oct 2006 23:25:17 +0000 Subject: rename functions to more understandable names --- util-linux/fdisk.c | 2 +- util-linux/more.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'util-linux') 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) char line[100], ptname[100], devname[120], *s; int ma, mi, sz; - procpt = bb_wfopen("/proc/partitions", "r"); + procpt = fopen_or_warn("/proc/partitions", "r"); while (fgets(line, sizeof(line), procpt)) { 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) if (argc == 0) { file = stdin; } else - file = bb_wfopen(*argv, "r"); + file = fopen_or_warn(*argv, "r"); if(file==0) goto loop; -- cgit v1.2.3