Browse Source

Fix printf usage for -Wformat-security

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.5.0
falkTX 4 years ago
parent
commit
a84e99bda5
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/jackpatch.c
  2. +1
    -1
      src/legacy-gui.cpp
  3. +1
    -1
      src/nsm-proxy-gui.cpp
  4. +1
    -1
      src/nsm-proxy.cpp
  5. +1
    -1
      src/nsmd.cpp

+ 1
- 1
src/jackpatch.c View File

@@ -784,7 +784,7 @@ main ( int argc, char **argv )
"Options:\n"
" --help Show this screen\n"
"";
printf ( usage );
puts ( usage );
exit(0);
break;
}


+ 1
- 1
src/legacy-gui.cpp View File

@@ -1363,7 +1363,7 @@ main (int argc, char **argv )
"For backwards compatibility this executable also exist as symlink 'non-session-manager'\n"
"\n"
"";
printf ( usage );
puts ( usage );
exit(0);
break;
}


+ 1
- 1
src/nsm-proxy-gui.cpp View File

@@ -299,7 +299,7 @@ main ( int argc, char **argv )
"nsmd-proxy-gui is usually not called by the user directly,\n"
"but autostarted when nsm-proxy is added to a session (through a GUI).\n"
"";
printf ( usage );
puts ( usage );
exit(0);
break;
}


+ 1
- 1
src/nsm-proxy.cpp View File

@@ -751,7 +751,7 @@ main ( int argc, char **argv )
"Options:\n"
" --help Show this screen\n"
"";
printf ( usage );
puts ( usage );
exit(0);
break;
}


+ 1
- 1
src/nsmd.cpp View File

@@ -2472,7 +2472,7 @@ int main(int argc, char *argv[])
"nsmd can be run headless with existing sessions. To create new ones it is recommended to use a GUI\n"
"such as nsm-legacy-gui (included) or Argodejo (separate package)\n"
"";
printf ( usage );
puts ( usage );
exit(0);
break;
}


Loading…
Cancel
Save