author | drw <drw> | 2003-01-30 00:06:24 (UTC) |
---|---|---|
committer | drw <drw> | 2003-01-30 00:06:24 (UTC) |
commit | a885dd31b7d2ba6befb4d2d88f545940a24de82c (patch) (side-by-side diff) | |
tree | 48470c27935d98e09b8f38b26e7b827b20271277 | |
parent | afe1478f7abfff02723bebf3122f8d8f5592b783 (diff) | |
download | opie-a885dd31b7d2ba6befb4d2d88f545940a24de82c.zip opie-a885dd31b7d2ba6befb4d2d88f545940a24de82c.tar.gz opie-a885dd31b7d2ba6befb4d2d88f545940a24de82c.tar.bz2 |
Remove command line arguments for modinfo
-rw-r--r-- | noncore/settings/sysinfo/modulesinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/modulesinfo.cpp b/noncore/settings/sysinfo/modulesinfo.cpp index 29cce90..7abad69 100644 --- a/noncore/settings/sysinfo/modulesinfo.cpp +++ b/noncore/settings/sysinfo/modulesinfo.cpp @@ -133,47 +133,47 @@ void ModulesInfo::slotSendClicked() QString modname = ModulesView->currentItem()->text( 0 ); if ( QMessageBox::warning( this, modname, capstr, QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape ) == QMessageBox::Yes ) { QString command = "/sbin/"; command.append( CommandCB->currentText() ); command.append( " " ); command.append( modname ); FILE* stream = popen( command, "r" ); if ( stream ) pclose( stream ); } } void ModulesInfo::viewModules( QListViewItem *modules ) { QString modname = modules->text( 0 ); QString capstr = "Module: "; capstr.append( modname ); ModulesDtl->setCaption( capstr ); - QString command = "/sbin/modinfo -nad "; + QString command = "/sbin/modinfo "; command.append( modname ); FILE* modinfo = popen( command, "r" ); if ( modinfo ) { char line[200]; ModulesDtl->detailView->setText( " Details:\n------------\n" ); while( true ) { int success = fscanf( modinfo, "%[^\n]\n", line ); if ( success == EOF ) break; ModulesDtl->detailView->append( line ); } pclose( modinfo ); } ModulesDtl->showMaximized(); } |