mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2021-09-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up deprecation warnings for 'QString::sprintf()'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -231,6 +231,6 @@ FILE *RDKernelGpio::OpenNode(const QString &name,const char *mode,int gpio) cons
|
||||
if(gpio<0) {
|
||||
return fopen((KERNELGPIO_SYS_FILE+"/"+name).toUtf8(),mode);
|
||||
}
|
||||
return fopen((KERNELGPIO_SYS_FILE+QString().sprintf("/gpio%d/",gpio)+name).
|
||||
return fopen((KERNELGPIO_SYS_FILE+QString::asprintf("/gpio%d/",gpio)+name).
|
||||
toUtf8(),mode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user