aboutsummaryrefslogtreecommitdiffstats
path: root/src/initlog.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-01-31 20:11:35 +0000
committerBill Nottingham <notting@redhat.com>2000-01-31 20:11:35 +0000
commit8444e6f477ed933425d3f6e832840f90a3c98b05 (patch)
treee8d9add71d31dcf61d07352c82d674c877988a38 /src/initlog.c
parent38f5503ecc678bc1f28266b6a0febee4f0903a9d (diff)
downloadinitscripts-8444e6f477ed933425d3f6e832840f90a3c98b05.tar
initscripts-8444e6f477ed933425d3f6e832840f90a3c98b05.tar.gz
initscripts-8444e6f477ed933425d3f6e832840f90a3c98b05.tar.bz2
initscripts-8444e6f477ed933425d3f6e832840f90a3c98b05.tar.xz
initscripts-8444e6f477ed933425d3f6e832840f90a3c98b05.zip
fix some warnings on alpha
Diffstat (limited to 'src/initlog.c')
-rw-r--r--src/initlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/initlog.c b/src/initlog.c
index deeb9443..03782c32 100644
--- a/src/initlog.c
+++ b/src/initlog.c
@@ -232,7 +232,7 @@ int logEvent(char *cmd, int eventtype,char *string) {
struct logInfo logentry;
if (cmd) {
- logentry.cmd = strdup((char *)basename(cmd));
+ logentry.cmd = strdup(basename(cmd));
if ((logentry.cmd[0] =='K' || logentry.cmd[0] == 'S') && ( 30 <= logentry.cmd[1] <= 39 )
&& ( 30 <= logentry.cmd[2] <= 39 ) )
logentry.cmd+=3;
@@ -258,7 +258,7 @@ int logString(char *cmd, char *string) {
struct logInfo logentry;
if (cmd) {
- logentry.cmd = strdup((char *)basename(cmd));
+ logentry.cmd = strdup(basename(cmd));
if ((logentry.cmd[0] =='K' || logentry.cmd[0] == 'S') && ( 30 <= logentry.cmd[1] <= 39 )
&& ( 30 <= logentry.cmd[2] <= 39 ) )
logentry.cmd+=3;