summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 21:00:43 +0000
committerDenis Vlasenko2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /util-linux
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.zip
busybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
bb_applet_name -> applet_name
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/freeramdisk.c2
-rw-r--r--util-linux/fsck_minix.c2
-rw-r--r--util-linux/mount.c2
-rw-r--r--util-linux/swaponoff.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c
index 5d110bc..2293d3e 100644
--- a/util-linux/freeramdisk.c
+++ b/util-linux/freeramdisk.c
@@ -24,7 +24,7 @@ int freeramdisk_main(int argc, char **argv)
fd = xopen(argv[1], O_RDWR);
// Act like freeramdisk, fdflush, or both depending on configuration.
- result = ioctl(fd, (ENABLE_FREERAMDISK && bb_applet_name[1]=='r')
+ result = ioctl(fd, (ENABLE_FREERAMDISK && applet_name[1]=='r')
|| !ENABLE_FDFLUSH ? BLKFLSBUF : FDFLUSH);
if (ENABLE_FEATURE_CLEAN_UP) close(fd);
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index c0dda2f..a2ca7a5 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -1343,7 +1343,7 @@ int fsck_minix_main(int argc, char **argv)
* flags and whether or not the -f switch was specified on the
* command line.
*/
- printf("%s, %s\n", bb_applet_name, program_version);
+ printf("%s, %s\n", applet_name, program_version);
if (!(Super.s_state & MINIX_ERROR_FS) &&
(Super.s_state & MINIX_VALID_FS) && !force) {
if (repair)
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 899bf85..141517b 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -707,7 +707,7 @@ static int daemonize(void)
dup2(fd, 2);
if (fd > 2) close(fd);
setsid();
- openlog(bb_applet_name, LOG_PID, LOG_DAEMON);
+ openlog(applet_name, LOG_PID, LOG_DAEMON);
logmode = LOGMODE_SYSLOG;
return 1;
}
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 4fcb239..8434d12 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -24,7 +24,7 @@ static int swap_enable_disable(char *device)
if (st.st_blocks * 512 < st.st_size)
bb_error_msg_and_die("swap file has holes");
- if (bb_applet_name[5] == 'n')
+ if (applet_name[5] == 'n')
status = swapon(device, 0);
else
status = swapoff(device);