Skip to content
Snippets Groups Projects
Commit 7942fc29 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

pass to ob_dirname

parent 5afedb64
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ int main (int argc, char const *const *argv) ...@@ -40,7 +40,7 @@ int main (int argc, char const *const *argv)
{ {
size_t mountpoints[MAXLINES], tmplen = strlen(SS_LIVE), len = 0 ; size_t mountpoints[MAXLINES], tmplen = strlen(SS_LIVE), len = 0 ;
char tmpdir[tmplen + 1] ; char tmpdir[tmplen + 1] ;
dirname(tmpdir,SS_LIVE) ; ob_dirname(tmpdir,SS_LIVE) ;
len = strlen(tmpdir) ; len = strlen(tmpdir) ;
if (tmpdir[len-1] == '/') if (tmpdir[len-1] == '/')
tmpdir[len-1] = 0 ; tmpdir[len-1] = 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment