summaryrefslogtreecommitdiff
path: root/libmisc/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmisc/shell.c')
-rw-r--r--libmisc/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/shell.c b/libmisc/shell.c
index 29724063..7c67500d 100644
--- a/libmisc/shell.c
+++ b/libmisc/shell.c
@@ -45,7 +45,7 @@ int shell (const char *file, /*@null@*/const char *arg, char *const envp[])
* don't want to tell us what it is themselves.
*/
if (arg == (char *) 0) {
- (void) snprintf (arg0, sizeof arg0, "-%s", Basename ((char *) file));
+ (void) snprintf (arg0, sizeof arg0, "-%s", Basename (file));
arg0[sizeof arg0 - 1] = '\0';
arg = arg0;
}