summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index c8bd5737a..5bf849e9d 100644
--- a/utility.c
+++ b/utility.c
@@ -1705,7 +1705,7 @@ char process_escape_sequence(char **ptr)
1705} 1705}
1706#endif 1706#endif
1707 1707
1708#if defined BB_BASENAME || defined BB_LN 1708#if defined BB_BASENAME || defined BB_LN || defined BB_SH
1709char *get_last_path_component(char *path) 1709char *get_last_path_component(char *path)
1710{ 1710{
1711 char *s=path+strlen(path)-1; 1711 char *s=path+strlen(path)-1;