aboutsummaryrefslogtreecommitdiff
path: root/modules/computer/boots.c
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 00:35:53 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 00:35:53 -0300
commit5f01c706267c595de92406a32e7f31ef5056c2d0 (patch)
treed1e74ef54efc41ada622900fe3e2a50dee44a237 /modules/computer/boots.c
parent09fcc751ef158898c315ebc9299a0fa3a722d914 (diff)
New upstream version 2.0.3preupstream/2.0.3pre
Diffstat (limited to 'modules/computer/boots.c')
-rw-r--r--modules/computer/boots.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/computer/boots.c b/modules/computer/boots.c
index ba458242..52c122e4 100644
--- a/modules/computer/boots.c
+++ b/modules/computer/boots.c
@@ -1,10 +1,10 @@
/*
* HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
+ * Copyright (C) 2003-2007 L. A. F. Pereira <l@tia.mat.br>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
+ * the Free Software Foundation, version 2 or later.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,6 +21,8 @@
#include "hardinfo.h"
#include "computer.h"
+extern void scan_os(gboolean reload);
+
void
scan_boots_real(void)
{
@@ -35,7 +37,7 @@ scan_boots_real(void)
else
return;
- spawned = g_spawn_command_line_sync("last",
+ spawned = hardinfo_spawn_command_line_sync("last",
&out, &err, NULL, NULL);
if (spawned && out != NULL) {
p = out;