aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/common/boots.h
diff options
context:
space:
mode:
authorAgney Lopes Roth Ferraz <agney@debian.org>2007-09-11 14:53:15 -0300
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:43 -0500
commit99a9c2a16af89bceed1f90c58faefd555a3268c3 (patch)
tree1e92d5f8160b4445b2459044400120e430f1fc23 /arch/linux/common/boots.h
parent0afab9fd83ec42e082ffa61f037519f3e1262e39 (diff)
parent7aeb5ac87c6105bd8fcc9b1fd12e37ba1550f587 (diff)
Import Debian changes 0.4.2.2-1
hardinfo (0.4.2.2-1) unstable; urgency=low * New upstream release. * hardinfo now suggests mesa-utils (Closes: #435793)
Diffstat (limited to 'arch/linux/common/boots.h')
-rw-r--r--arch/linux/common/boots.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/linux/common/boots.h b/arch/linux/common/boots.h
index c95ba321..d3428ea9 100644
--- a/arch/linux/common/boots.h
+++ b/arch/linux/common/boots.h
@@ -25,7 +25,7 @@ scan_boots_real(void)
scan_os(FALSE);
if (!computer->os->boots)
- computer->os->boots = "[Boots]\n";
+ computer->os->boots = g_strdup("[Boots]\n");
else
return;
@@ -48,7 +48,7 @@ scan_boots_real(void)
}
tmp = g_strsplit(buffer, " ", 5);
- computer->os->boots = g_strdup_printf("%s\n%s=Kernel %s",
+ computer->os->boots = h_strdup_cprintf("\n%s=Kernel %s",
computer->os->boots,
tmp[4],
tmp[3]);