summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-11-21 17:42:57 +0100
committerRamón M. Gómez <ramongomez@us.es>2019-11-21 17:42:57 +0100
commit5118932da36cd23ad76b93a0afee9f8afb2174fd (patch)
treea8bea22ef4b9a3a496ecbdab8af5dd655d16d9d7 /admin
parentd986707e24ebee86ef6010f37f5f8ac2f1d7cdda (diff)
#839: Always update the partition types when obtaining the computer configuration.
Diffstat (limited to 'admin')
-rw-r--r--admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp
index 683aab6d..5bf27798 100644
--- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp
+++ b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp
@@ -663,9 +663,10 @@ bool actualizaConfiguracion(Database db, Table tbl, char *cfg, int ido)
cpt, tam, uso, idsfi, idsoi, ido, disk, par);
} else { // Actualizar porcentaje de uso.
sprintf(sqlstr, "UPDATE ordenadores_particiones SET "
+ " codpar=0x%s,"
" uso=%s"
" WHERE idordenador=%d AND numdisk=%s AND numpar=%s",
- uso, ido, disk, par);
+ cpt, uso, ido, disk, par);
}
if (!db.Execute(sqlstr, tbl)) {
db.GetErrorErrStr(msglog);